feat-discovery
Skill0 starsChanged 18 days agoApache-2.0View on GitHub
Load the feat docs from docs/feat/ that match the user's query, frontmatter first. Use when the user asks what a part of the toolkit is, how it works, or what the project can do, or before implementing against a feature that may already be documented.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- code-checkSkill
- code-formatSkill
- code-genSkill
- code-integrateSkill
- code-restackSkill
- code-reviewSkill
- code-syncSkill
- code-testSkill
- commitSkill
- feat-statusSkill
- feat-validateSkill
- releaseSkill
- code-rules-checkSkill
- code-rulesSkill
- docs-rules-checkSkill
- docs-rules-creatorSkill
- docs-rulesSkill
- skills-checkSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Before implementing a feature, to find out what already exists
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Feature Discovery
Lazy-loads this repository's feat docs from docs/feat/ against a user query, by matching YAML
frontmatter before reading any feat doc in full.
When to Use
- The user asks "what is X?", "how does X work?", or what the toolkit can do
- The user names a part of the toolkit - a check, a spec, a command - and wants the context behind it
- Before implementing a feature, to find out what already exists
Sibling skills: /feat-status for the maturity each feat doc declares, /docs-rules-check for whether a
document is well-formed, /code-rules for how to write the code.
Prefetched Feature Catalog
The frontmatter of all feat docs (loaded at skill start):
!awk '/^---$/{p=!p; print FILENAME": "$0; next} p{print FILENAME": "$0}' docs/feat/*.md 2>/dev/null
Fallback: if the block above appears as literal text (the runtime does not auto-execute dynamic context), run it yourself with the Bash tool before proceeding.
An empty catalog is an answer, not a failure. It means no feature has been written up in this
repository yet. Say the corpus is empty, answer from the code and from AGENTS.md, and do not rerun the
command or go hunting for the feat docs somewhere else.
Workflow
- Match the user's query against the prefetched catalog using the fields below.
- Load each matched feat doc and its base chain. For every hyphen-prefix ancestor of its filename, read
the corresponding existing
.mddocument indocs/feat/, broadest first, then read the matched document. For example, a match tospec-structure-outlineloadsspecand thenspec-structure, if those files exist. Skip a missing intermediate name and continue with any more specific existing ancestor. The matched document and its base chain count as one match. - Follow cross-references in each feat doc's "References" section and load those too when relevant.
Query Matching
Compare query against frontmatter fields:
name- exact or partial match (e.g. "budget-check", "spec-dialect")description- semantic match (e.g. "frontmatter" -> the frontmatter check, "too long" -> the length budget)components- the identifiers a feat doc lists for the parts of the toolkit it covers: a checker module, a command surface, a spec. The corpus spec,docs/__meta__/feat.md, fixes that vocabulary; match on the identifier itself rather than on its prefix.
Load multiple feat docs when:
- The query spans several features
- Features cross-reference each other (
Referencessection) - The user is working where two of them meet - a check and the spec it enforces
When NOT to Use
| The user asks | Use instead |
| about code patterns or standards | /code-rules |
| to run a command | the matching /code-* skill |
| whether a document is well-formed | /docs-rules-check |
| how mature a feature is | /feat-status |
Whether the code actually does what a feat doc says is no skill's job here: read the feat doc and the code and compare them by hand.
Simple file edits that do not need feature context need no discovery at all.
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
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.

