Skip to content

Spec Skill: Compressed Prompt and Tiered Context

The /spec skill prompt has been compressed by 68% (5,508 to 1,757 words) and now adapts its output to issue complexity. Simple issues get lean output; complex issues get full analysis.

  1. sequant initializedls .claude/skills/spec/SKILL.md
  2. GitHub CLI (optional)gh auth status. If unavailable, /spec falls back to manual AC input.

/spec now determines a complexity tier before generating output and announces it on the first line:

TierCriteriaWhat You Get
Simplesimple-fix/typo/docs-only label, or bug with 1-2 ACsAC list + plan + Design Review Q1/Q3 only
Standard3-8 ACs, no complexity labelsFull output minus Polish section
Complexcomplex/refactor/breaking label, or 9+ ACsFull output including all quality dimensions

Output begins with: **Complexity: Standard** (5 ACs, 3 directories)

The skill no longer always spawns 3 explorer agents. Agent count depends on issue content:

Issue ContentAgents
Database/SQL/migration keywords3
UI/frontend references2
CLI/script changes2
Docs/config/simple-fix1

/spec now checks for available tools before execution:

  • If gh CLI is unavailable: skips phase detection, label review, and auto-comment
  • If .sequant/settings.json is missing: uses defaults silently

Feature Quality Planning changed from a 25+ checkbox ceremony to exception reporting. Instead of marking [x] N/A for items that don’t apply, the output now says:

All standard checks pass. Notable items:

  • [Only gaps and concerns are listed]

The full checklist is still available in references/quality-checklist.md and is used for Complex tier issues.

Skills now carry a version field in their YAML frontmatter (under metadata):

metadata:
author: sequant
version: "2.1"

Run sequant status — if any installed skill is behind the package template version, you’ll see:

Skill updates available (1):
spec: v1.0 -> v2.1
Run `sequant init --upgrade-skills` to update.
sequant init --upgrade-skills

This compares your installed .claude/skills/ files against the package templates, shows a color-coded diff for each changed file, and asks for confirmation before applying.

  • Does NOT auto-run — you must explicitly pass --upgrade-skills
  • In interactive mode, prompts for confirmation before overwriting
  • Shows new files that would be added

The spec skill uses tiered reference files in .claude/skills/spec/references/:

FilePurpose
verification-criteria.mdGuide for choosing verification methods, #452 case study
quality-checklist.mdFull Feature Quality Planning checklist (for Complex tier)
parallel-groups.mdFormat for parallel execution groups in implementation plans
recommended-workflow.mdExpected format for the Recommended Workflow section

These are loaded on demand by the model, not included in the prompt token budget.

The tier was likely set to Simple. Check the first line of output for the tier announcement. If the issue needs more detail, add a complex or refactor label and re-run.

sequant status doesn’t show skill versions

Section titled “sequant status doesn’t show skill versions”

Skills without a version field in metadata won’t appear in version checks. Only the spec skill has version: "2.1" currently — other skills will be updated in future releases.

sequant init --upgrade-skills shows no changes

Section titled “sequant init --upgrade-skills shows no changes”

Your installed skills match the package templates. This is expected after a fresh sequant init or recent upgrade.


Generated for Issue #515 on 2026-04-14