Repository navigation
feat(#515): compress spec skill prompt by 75% and add tiered context - #523
Merged
admarble merged 6 commits intoApr 15, 2026
Merged
Conversation
- AC-1: Consolidate triple output specification into single template - AC-2: Guard dead npx tsx blocks with ./src/lib/ac-parser.ts conditional - AC-3: Reduce examples to 1 per concept, remove #452 case study - AC-4: Convert Feature Quality Planning to exception-based reporting, move full checklist to references/quality-checklist.md - AC-5: Define Simple/Standard/Complex output tiers by issue complexity - AC-6: Add tier announcement as first line of spec output - AC-7: Make agent count conditional (DB→3, UI→2, docs→1, CLI→2) - AC-8/AC-10: Replace hardcoded paths with dynamic project discovery - AC-9: Add platform detection preamble (gh, settings.json) - AC-11: Add version field to skill YAML frontmatter, display in sequant status with update-available detection - AC-12: Add --upgrade-skills flag to sequant init with diff preview Reduction: 5508→1370 words (75%), 1103→286 lines (74%) All 3 skill directories synced. Build and tests pass.
…ating path Remove unused fileURLToPath import. The template directory resolution is now shared between status, init, and templates modules.
Closed
17 tasks
AC-3 says "retaining decision framework tables (which are already dense/efficient)." Add back the Verification Method Decision Framework table and the AC quality pattern detection table — these are compact reference tables the model needs for choosing verification methods.
AC-3 specifies "1 concise example per concept." Add a completed AC entry as an HTML comment inside the template so weaker models (Haiku) have a reference for the expected output format.
…ation The skills-ref validate CLI only allows: allowed-tools, compatibility, description, license, metadata, name as top-level frontmatter fields. Move version: "2.1" under metadata where parseSkillVersion() already checks as fallback.
The testgen-skill.test.ts tests verify that the spec SKILL.md contains testgen auto-detection rules. These were removed during compression but are a real functional requirement — the model needs them to know when to recommend the testgen phase. Added compact version: decision table, detection logic, and example.
admarble
deleted the
feature/515-perf-spec-prompt-compression-and-tiered-contex
branch
April 15, 2026 00:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sequant statusdisplaysequant init --upgrade-skillswith diff preview before overwritingAC Coverage (12/12 MET)
npx tsxblocks with conditional--upgrade-skillswith diff previewKey Metrics
Files Changed
.claude/skills/spec/SKILL.md— Compressed prompt (all 3 directories synced)references/quality-checklist.md— New Tier 3 reference for full quality checklistsrc/lib/skill-version.ts— New utility for reading skill YAML frontmatter versionssrc/lib/templates.ts— ExportgetTemplatesDir()for reusesrc/commands/status.ts— Show outdated skill versionssrc/commands/init.ts— AddupgradeSkills()with diff previewbin/cli.ts— Register--upgrade-skillsflagTest plan
tsc)/specon a simple-fix issue and verify output tier/specon a complex issue and verify full outputsequant statuswith outdated skill versionsCloses #515