agentleFS
protonspyprotonspy/spec-claude-code/.claude/skills/scc-stack/SKILL.md

scc-stack

Skill4 starsChanged 53 days agoApache-2.0View on GitHub

Own docs/stack.md — every adopted technology with one line on why it earned its place. Use it before adding a dependency to any manifest, when a technology is swapped or dropped, and on any stack.* finding.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. protonspy/harness-for-rea★ 38100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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
  1. Distinctive:

    Say what it costs: Every dependency is a supply-chain surface, a version to keep current, and an API someone will have to learn.

    line 32
  2. Distinctive:

    Ask the three questions, in this order:

    line 48
  3. Distinctive:

    Delete it from the manifest, delete the entry, and say in the commit what replaced it.

    line 64

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

You own docs/stack.md. The rule it enforces is in .claude/rules/knowledge-base.md, and it is short: technology not listed here is an open decision, never something adopted silently.

This is checkable because dependency manifests are structured data. scc validate reads the direct dependencies out of every manifest it knows — go.mod, package.json, requirements.txt, pyproject.toml, Cargo.toml, composer.json, pom.xml — and reports any that stack.md does not mention. Indirect dependencies are skipped: nobody decided those.

Nothing asked for

$ARGUMENTS is the technology being adopted or dropped. Empty, run scc validate and work through the stack.undocumented-dependency findings: for each, either record the decision or establish that nobody can justify the dependency and remove it. Both are correct outcomes; listing a name with no reason is not.

Adding a dependency is two steps

Adding it to the manifest is the first. The second is here, and it happens in the same change, not later:

  1. Say what problem it solves — the one you actually have, not the category.
  2. Say what it was chosen over, if anything real was considered. This is the line that pays off in a year, when someone asks why not the obvious alternative.
  3. Say what it costs. Every dependency is a supply-chain surface, a version to keep current, and an API someone will have to learn. If you cannot name the cost you have not finished evaluating it.
## Go

- **stdlib only** — the binary ships to six platforms and every dependency is a
  supply-chain surface. A dependency has to be worth that.

The validator matches on the module path or its last segment, so writing chi for github.com/go-chi/chi is enough. It is looking for a decision, not a spelling.

Before you add anything

Ask the three questions, in this order:

  1. Can the standard library do it? For most of what a dependency is reached for first, it can, at the cost of code you then own. Sometimes that trade is right.
  2. Is this dependency load-bearing or convenient? A convenience with a maintainer who stops answering is a migration you did not plan.
  3. Does the project already have something that does this? Two libraries solving one problem is a cost paid by everyone who reads the code afterwards, forever.

If the answer is not obviously yes, stop and ask. Adopting technology is a decision with a long tail, and it is one of the few things worth interrupting an automatic run for. Bringing a dependency in unasked is not autonomy, it is a commitment made on someone else's behalf.

Removing one

Delete it from the manifest, delete the entry, and say in the commit what replaced it. A stack entry for something no longer installed is worse than a missing one: it describes a project that does not exist.

When it is also an ADR

stack.md is the inventory — what is adopted, and why. An ADR is the record of a decision that is hard to reverse. Reach for the adr skill as well when the choice locks something in: a database, a wire protocol, a framework the code will shape itself around, a vendor with data in it.

The two do not duplicate each other. The stack entry stays one line and names the ADR; the ADR carries the context, the alternatives, and the consequences.

Findings

FindingWhat it meansThe fix
stack.missingThe project declares dependencies and has no stack.md.Write it, one entry per direct dependency already installed. Expect to discover at least one nobody can justify.
stack.undocumented-dependencySomething is installed that stack.md does not mention.Record the decision — or, if no one can state what it is for, remove the dependency. Both are correct outcomes. Silencing the finding by listing the name with no reason is not.

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.