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

speckit-companion-living-show

Skill0 starsChanged 50 days agoMITView on GitHub

Print one slice of a living spec — a capability's requirement headings, one requirement in full, or the requirements that describe one file (opt-in, read-only, never halts)

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 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.

  • 3

    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 20
  2. Very specific:

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

    line 21
  3. Distinctive:

    Run one of these from the repository root, whichever the request asks for:

    line 26
  4. Very specific:

    Add --capability <name> to --requirement to search one capability instead of all of them.

    line 39
  5. Distinctive:

    Do not edit any spec as part of this command.

    line 55

≈ “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

Show

Print part of a living spec instead of opening it. A capability's spec runs to hundreds of lines, and almost every question about one is about a single requirement: what does it say, what are its scenarios, which rules describe this file I am editing. This is the terminal twin of the load steps' selective read — same parser, same counts, no viewer required.

Read-only — it never edits anything, and it never fails (always exits success). Every unanswerable question is an answer: an unregistered capability, a missing spec file, a name that matches nothing, a file nothing claims.

This is opt-in. With living specs disabled (or no config), it reports nothing and exits clean.

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 the living spec slice.

Execution

Run one of these from the repository root, whichever the request asks for:

# every requirement heading in one capability
python3 .specify/extensions/companion/scripts/resolve-spec-paths.py --headings <capability>

# one requirement in full, including its scenarios
python3 .specify/extensions/companion/scripts/resolve-spec-paths.py --requirement "<heading>"

# the requirements that describe one source file
python3 .specify/extensions/companion/scripts/resolve-spec-paths.py --file <path>

Add --capability <name> to --requirement to search one capability instead of all of them. Add --json when a caller needs the object rather than the list.

What each mode answers

ModeAnswers
--headingsWhat rules does this capability state? One heading per line, in file order, with the count.
--requirementWhat does this one rule say, and how would anyone know it held? The heading, the normative prose, and the scenarios.
--fileWhich durable rules describe this file? Grouped by capability, most-specific capability first.

A requirement carrying no file marker is returned by --file for every file its capability claims — a marker can only narrow, never starve.

Report

Relay the script's own output. Do not summarize a requirement, paraphrase a scenario, or truncate a body: the point of the command is that a reader sees the spec's own words. Where the script reports that a capability is unregistered, has no spec file on disk, or that a name matched nothing, say that in the same terms and print the alternatives it listed.

Do not edit any spec as part of this command.

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.