agentleFS
mhgolestanmhgolestan/code-context-mcp/.claude/skills/speckit-companion-status/SKILL.md

speckit-companion-status

Skill0 starsChanged 50 days agoMITView on GitHub

Report where the active spec stands — current step, status, recorded decisions, and the next action — from .spec-context.json

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Verify Python is available by running python3 --version.

    line 22
  2. Very specific:

    If python3 is not available, warn the user and skip: [companion] Warning: python3 not detected.

    line 23
  3. Distinctive:

    Do not fail the host command.

    line 25
  4. Distinctive:

    Run the resolver from the repository root:

    line 29
  5. Very specific:

    No decisions recorded → Decisions: (none recorded).

    line 62
  6. Very specific:

    No state and no spec files → Nothing to summarize (no spec files or recorded state found).

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spec Status

Summarize the active feature's position in the spec-driven pipeline so you can see, at a glance, the current step, its status, the decisions recorded so far, and what to do next. Read-only — this command never writes .spec-context.json.

<!-- speckit-companion:part command-spelling -->

Name every command the way this project registers it

Commands are named in dot form throughout this body, speckit.companion.plan, because that is their canonical id, and without a leading slash, because the spelling a host actually registers is not always this one. Claude Code installs /speckit-companion-plan. Look at how the commands are installed in this project, under the agent's own commands or skills directory, and use that spelling every time you name one to the developer or dispatch one yourself. A dotted name typed into a host that registered dashes resolves to nothing at all.

<!-- /speckit-companion:part command-spelling -->

Prerequisites

  • Verify Python is available by running python3 --version.
  • If python3 is not available, warn the user and skip: [companion] Warning: python3 not detected; skipped status. Do not fail the host command.

Execution

Run the resolver from the repository root:

python3 .specify/extensions/companion/scripts/status-context.py

The script resolves the active feature directory on its own, in this order: --feature-dir → SPECIFY_FEATURE_DIRECTORY env → SPECIFY_FEATURE env → .specify/feature.json → current git branch prefix.

Pass the directory explicitly when you already know it:

python3 .specify/extensions/companion/scripts/status-context.py --feature-dir specs/<NNN>-<slug>

The script reads .spec-context.json. When that file is missing or malformed, it falls back to deriving state from the on-disk artifacts (spec.md → specify, plan.md → plan, tasks.md → tasks/implement) and marks the output source: derived.

Output

Print the human summary block the script emits, e.g.:

Spec: <name>   (source: state|derived)
Step: <currentStep>   Status: <status>
Decisions:
  - <decision>
Next: <action>  →  <command|—>
  • No decisions recorded → Decisions: (none recorded).
  • Spec fully implemented / completed / archived → Next: Pipeline complete → —.
  • Inside the implement step → Next: Continue implementation at <task> → dispatching speckit.implement.
  • No state and no spec files → Nothing to summarize (no spec files or recorded state found).

The script also emits a final RESOLUTION: { … } JSON line. It is for speckit.companion.resume and tests — you do not need to surface it to the user.

Graceful Degradation

Best-effort and never fails the host command: if python3 is missing or the feature directory cannot be resolved, it warns to stderr and exits 0.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.