agentleFS
GitHubKnown publishergithub/spec-kit-copilot/skills/speckit-artifact/SKILL.md

speckit-artifact

Skill16 starsChanged 2 months agoMITView on GitHub

Inspect the effective Spec Kit artifact inventory and composition stacks via `specify artifact`. USE FOR: listing commands/templates/scripts/hooks, explaining which preset or extension layer supplies an artifact, inspecting resolution precedence and hidden layers, checking hook registration, or resolving a stack lookupId to its validated contribution. DO NOT USE FOR: installing or changing presets/extensions (use speckit-preset or speckit-extension), resolving only a preset-managed filename (use speckit-preset), or running an artifact.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check whether declared hooks are registered and active.

    line 21
  2. Very specific:

    Run commands from an initialized Spec Kit project containing .specify/.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Kit — artifacts

Inspect commands, templates, scripts, hooks, and their effective composition stacks with the Specify CLI specify artifact command group. Requires Specify CLI >= 1.0.7.

Prerequisite: needs the specify CLI. If specify --version fails, install it with the speckit-cli-setup skill first.

When to use

  • List every command, template, script, and hook visible to a Spec Kit project.
  • Explain which project, preset, extension, or built-in layer supplies an artifact.
  • Inspect precedence, composition strategy, active layers, and hidden layers.
  • Check whether declared hooks are registered and active.
  • Resolve a stack entry back to the validated manifest contribution Spec Kit uses.

How to invoke

# Full artifact inventory, including composition stacks
specify artifact list --json

# Inspect one artifact by bare name or source-agnostic artifact id
specify artifact info <name> --json
specify artifact info <kind>:<name> --json
specify artifact info <name> --kind <command|template|script|hook> --json

# Resolve a manifest-backed stack layer to its effective contribution
specify artifact lookup <lookupId> --json

Identifiers

  • An artifact id has the form <kind>:<name>, such as command:speckit.specify. Pass this value to specify artifact info.
  • A stack entry's lookupId identifies the preset or extension contribution behind that layer. Pass this opaque value unchanged to specify artifact lookup.
  • Built-in layers do not have a lookupId. Project or convention-only layers may not have a manifest contribution that lookup can resolve.

Notes

  • All specify artifact subcommands are read-only.
  • --json is currently required. A missing --json is a usage error.
  • Run commands from an initialized Spec Kit project containing .specify/.
  • list and info return ordered stacks. For commands, templates, and scripts, index 0 is the winning layer. Hook stacks are additive, so multiple entries can be active.
  • Composition strategies are replace, wrap, prepend, append, and additive for hooks.
  • active and hidden are independent: an inactive layer can still participate in composed output unless a higher replace layer hides it.
  • Hook artifact ids percent-encode event and target-command components. Reuse ids and lookupIds exactly as returned instead of constructing them manually.

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.