agentleFS
vu1nvu1n/pillbox/.claude/skills/brief-feature-map/SKILL.md

brief-feature-map

Skill2 starsChanged 59 days agoApache-2.0View on GitHub

Seed or extend a repo's brief feature map — one `type: features` doc with an anchor per feature (user-facing or internal), its `paths:` globs, and a Gotchas section. Invoke for "map the features", "add a feature to the map", "seed the feature map".

The file

We split this skill into the rules it gives an agent

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

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start with the top 5–10 areas, not everything.

    line 17
  2. Very specific:

    Don't restate decisions. If a gotcha is really a ratified constraint, link its doc:// ref instead.

    line 55
  3. Distinctive:

    Commit the map with the change that needed it.

    line 66

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

brief feature map — what each part is, where it lives, what bites

A feature map lets an agent go from a diff to the features it touches (brief features <files>) and read their Gotchas before changing code. It is descriptive, not a decision: editing it needs no ratification, and its paths never gate code. Its one hard rule, enforced by brief check, is that every glob matches at least one tracked file.

1. Find the features

Start with the top 5–10 areas, not everything. Take them from routes, commands, menus, packages, and existing specs, and include internal areas (a store, a scheduler, an auth layer) — a lesson about internals needs a home too. A feature is something a person would name in a sentence ("search", "the gate"), not a directory.

2. Write .brief/docs/features.md

---
id: features
type: features
title: <project> feature map
---

# <project> feature map

<!-- brief:anchor search -->
## Search

```yaml
paths:
  - "src/search/**"
  - "cli/commands/search.ts"
```

One paragraph: what it does, from its user's point of view (for an internal area, its
caller's).

### Gotchas
- Traps that waste or invalidate work here, each one concrete and checkable.
  • Anchor id — short, kebab-case, stable. Others will reference doc://<project>/features@latest#<id>, so never rename one casually.
  • paths: — derive them from the code that implements the feature, not the directory it happens to sit in. Shared files can appear under several features.
  • Gotchas — only what you verified in the code or saw fail. Leave the section out rather than pad it; it grows as agents hit traps.
  • Don't restate decisions. If a gotcha is really a ratified constraint, link its doc:// ref instead.

3. Check it

brief check           # blocks any glob that matches no tracked file
brief doctor          # warns on a feature with no paths
brief features src/search/index.ts   # spot-check a file maps where you expect

Commit the map with the change that needed it.

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.