suggest-skills
Skill1 starsChanged 11 days agoMITView on GitHub
Propose repo-specific rule rows, skills and agents from code pinpoints, fix commits, repeated tasks and repeated corrections; build only the chosen ones. Use for "suggest skills", "find rules to add", "make this a skill". Not for fixing an existing skill (devkit:improve-skill).
4 other projects use a version of this.
Adopted by
Most recently taken up by
- usecompai/compound-operations-modeltheir own version, first seen Nov 8, 2026
- marinvch/Cortextheir own version, first seen Nov 1, 2026
- ivanrvpereira/.agentstheir own version, first seen Nov 1, 2026
- grahac/claude_skillstheir own version, first seen Apr 18, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- usecompai/compound-operations-model★ 31same name
- ivanrvpereira/.agents★ 19same name
- grahac/claude_skills★ 2same name
- marinvch/Cortex★ 1same name
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 repository14 other files it gives its agents.
- analyzeSkill
- checkSkill
- clean-tempSkill
- commitSkill
- develop-screenSkill
- developSkill
- improve-skillSkill
- parallel-workSkill
- peer-reviewSkill
- pr-publishSkill
- pushSkill
- run-appSkill
- setupSkill
- using-devkitSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
If docs/rules/ is missing, suggest running devkit:setup first.
- Distinctive: line 39
If the fingerprint's "Top extensions" lists non-source extensions (report layouts, schemas, templates), name that side feature separately …
- Distinctive: line 58
If a rule row needs a layer doc that does not exist yet, ask separately with a single choice: "new doc / section of an existing doc".
- Distinctive: line 59
If you found places where existing rules and code disagree, report only the difference, taking code as the reference.
- Very specific: line 63
Rule rows: add to the matching docs/rules/<layer>.md in the existing style.
- Very specific: line 65
Agents: write the blueprint skeleton to .claude/agents/<name>.md.
- Distinctive: line 67
If you built a skill or agent, add one line each (what it is and when to use it) to the "Project skills and agents" section of CLAUDE.md.
- Distinctive: line 68
Only append to existing files with Edit and preserve line endings.
- Very specific: line 77
Run check_skill.py only when you built a skill.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Suggest rules, skills and agents
No suggestion without evidence. Evidence is the target repo's file:line, commits and fingerprint numbers, tasks repeated in this conversation, and corrections the user gave. Do not carry over rules seen in other projects.
| Reference | When |
| catalog.md | What to suggest under which conditions |
| pinpoint-checklist.md | Finding rule row candidates — also pass its path to subagents |
| skill-authoring.md | When building a chosen skill or agent |
| Blueprints: project-flow · db-analyst · knowledge-reader · spec-analyst · visual-docs · tool-skill | Read only the ones you decide to build |
Argument: rules for rule rows only, skills for skills and agents only, none for both.
Baseline (--since): argument → last commit date of docs/rules/ (git log -1 --format=%ad --date=short -- docs/rules) → full history (also when docs/rules/ was just created and has no commit). If fewer than 20 commits follow the baseline, widen to the previous rules commit date, and if still too few, to full history. The baseline only narrows new fix candidates; "does the same mistake recur" is always counted on full history.
0. Check the target
- If
docs/rules/is missing, suggest runningdevkit:setupfirst. If the user says go ahead anyway, only make suggestions and leave rule rows in the report. - Read existing project skills and agents (
.claude/skills/and.claude/agents/listings with each description),CLAUDE.md(its "Project skills and agents" section, or the whole file if absent), and user-level and other plugins' skill lists to avoid overlapping suggestions. Skills withdisable-model-invocationdo not show in the list, so look at the folders directly.
1. Gather evidence
Fingerprint (script to run):
python3 -I "${CLAUDE_PLUGIN_ROOT}/skills/setup/scripts/scan_repo.py" <repo root> [--since <baseline>] --out <scratchpad>/fingerprint.json > <scratchpad>/fingerprint.mdRule row candidates (rules or both):
- Launch one
devkit:code-readerper layer (subproject, DB, infra) concurrently in one message (effort: "low"). Inside a subproject, also launch separate ones for a sub-app where fix hotspots cluster or a path the rules docs call "separate". In a small repo (fewer than 200 source files and at most 2 layers) the main agent does it directly. - Put in the brief: the assigned path; the fingerprint lines for that path (internal modules, calls, path shapes, warning comments, fix commits — only those for the path); the path of the matching
docs/rules/<layer>.mdwith "read it yourself and drop rows that already exist"; the absolute path of pinpoint-checklist.md (${CLAUDE_PLUGIN_ROOT}/skills/suggest-skills/references/pinpoint-checklist.md) with "follow its adoption criteria, per-area questions and candidate format; under## Questions by arearead only its opening line, the**Git and process**block and the block for your layer —**Screens …**,**Server …**,**DB**or**Infra and environment**(both when the layer spans two, e.g. Server and DB)"; "return only the candidate table —confirmedrows first, up to 15 rows"; "read only the fix commits for your path". - If the fingerprint's "Top extensions" lists non-source extensions (report layouts, schemas, templates), name that side feature separately in the brief. Missing it drops that whole section.
- Even S1 and S3 rows a subagent marked
confirmedare checked by the main agent against the evidence file orgit showbefore writing them into docs (subagents sometimes misread a commit's nature). - Fix commits spanning several layers are read by the main agent with
git showto judge "could the same mistake happen again in another file". Fixes in archive or old template folders (archive,old,deprecatedetc.) are not used as evidence.
Skill and agent candidates (skills or both): match the conditions in catalog.md against the fingerprint and history. Reading a blueprint to judge fit is fine. Find repeated tasks in groups of same-type commits (same scope, same verb, same folder pattern), traces of repeating the same steps in this conversation, and repeated tasks the user mentioned.
Corrections: if the user made the same correction twice or more in this conversation, raise it as a rule row or skill content candidate with a Level (pinpoint-checklist). If a rule row for it already exists without an enforced by note, the candidate goes one level above doc; a reworded row is not a fix. Corrections aimed at an existing skill inside this project go to devkit:improve-skill instead.
Save the raw tables returned by subagents to <scratchpad>/candidates.md, and the main agent's merged verdicts to <scratchpad>/suggestions.md (adopted candidates, needs confirmation, discarded with reasons).
🛑 Proposal table
Show one table and let the user choose (AskUserQuestion multiSelect, up to 4 per question).
| Kind | Name / target | Why (one-phrase evidence) | What gets built | Recommended |
- At most 3 recommended; the rest go on one line each as "next candidates".
- For rule rows, show the count per target doc and 2–3 representative rows (the full set is in
suggestions.md). For a row abovedoc, "What gets built" is the row plus an analyze handoff for its enforcer. - If a rule row needs a layer doc that does not exist yet, ask separately with a single choice: "new doc / section of an existing doc".
- If you found places where existing rules and code disagree, report only the difference, taking code as the reference. Do not silently change rules.
2. Build (chosen items only)
- Rule rows: add to the matching
docs/rules/<layer>.mdin the existing style. If the layer doc is missing, create it from the setup layer doc skeleton and add one line each to thedocs/rules/README.mdindex and theCLAUDE.mdtable. - Enforcers (
structure,type,check,testrows): write no code, lint rules or tests here. Add the handoff tosuggestions.md(rule, level, past-mistake commit, requirement "fails on<commit>^, passes on HEAD") and tell the user to rundevkit:analyzewith it. Once an enforcer exists, end the row's rule cell with(enforced by <path>); a row without it is unenforced. - Agents: write the blueprint skeleton to
.claude/agents/<name>.md. Fill{{…}}from evidence and delete lines without evidence. Use the DB MCP tool names actually visible in this session. - Skills: build under
.claude/skills/<name>/following skill-authoring.md — at least 3 eval scenarios, rules as links todocs/rules/, scripts run withpython3 -I. - If you built a skill or agent, add one line each (what it is and when to use it) to the "Project skills and agents" section of
CLAUDE.md. - Only append to existing files with Edit and preserve line endings. Do not commit.
3. Check
python3 -I "${CLAUDE_PLUGIN_ROOT}/skills/setup/scripts/check_docs.py" <repo root>
python3 -I "${CLAUDE_PLUGIN_ROOT}/skills/suggest-skills/scripts/check_skill.py" <repo root>/.claude/skills/<built skill>Run check_skill.py only when you built a skill. Fix ERRORs and run again. Do not judge eval scenarios in this session; tell the user to confirm with a representative request in a new session.
4. Report
Report what was built and its files, candidates not chosen (to revisit), check results, what could not be verified, and the next baseline (today's date and last commit hash).
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.

