are-discover
Skill21 starsChanged 10 months agoMITView on GitHub
Discover files in codebase
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- hooks/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/workflows/CLAUDE.mdCLAUDE.md
- hooks/CLAUDE.mdCLAUDE.md
- scripts/CLAUDE.mdCLAUDE.md
- src/CLAUDE.mdCLAUDE.md
- bumpSkill
- are-cleanSkill
- are-dashboardSkill
- are-generateSkill
- are-helpSkill
- are-implementSkill
- are-planSkill
- are-rebuildSkill
- are-specifySkill
- are-updateSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 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.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Run ONLY this exact command: npx agents-reverse-engineer@$VERSION discover $ARGUMENTS
- Distinctive: line 13
DO NOT add ANY flags the user did not explicitly type
- Very specific: line 14
If user typed nothing after /are-discover, run with ZERO flags
- Very specific: line 18
Read version: Read .claude/ARE-VERSION → store as $VERSION.
- Very specific: line 26
Wait ~10 seconds (use sleep 10 in Bash), then use Glob to find the latest .agents-reverse-engineer/progress-*.log file, and Read it (use …
- Very specific: line 28
Check whether the background task has completed using TaskOutput with block: false
- Distinctive: line 30
Important: Keep polling even if no progress log exists yet (the command takes a few seconds to start writing)
- Very specific: line 35
Read .agents-reverse-engineer/GENERATION-PLAN.md and .agents-reverse-engineer/config.yaml
- Very specific: line 48
Ask the user which categories to exclude using AskUserQuestion with multiSelect: true
- Distinctive: line 50
After editing, briefly confirm what was added </execution>
≈ “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.
Files
List files that would be analyzed for documentation.
<execution>
## STRICT RULES - VIOLATION IS FORBIDDEN- Run ONLY this exact command:
npx agents-reverse-engineer@$VERSION discover $ARGUMENTS - DO NOT add ANY flags the user did not explicitly type
- If user typed nothing after
/are-discover, run with ZERO flags
Steps
- Read version: Read
.claude/ARE-VERSION→ store as$VERSION. Show the user:agents-reverse-engineer v$VERSION - Run the discover command in the background using
run_in_background: true:npx agents-reverse-engineer@$VERSION discover $ARGUMENTS - Monitor progress by polling the latest progress log:
- Wait ~10 seconds (use
sleep 10in Bash), then use Glob to find the latest.agents-reverse-engineer/progress-*.logfile, and Read it (use theoffsetparameter to read only the last ~20 lines for long files) - Show the user a brief progress update
- Check whether the background task has completed using
TaskOutputwithblock: false - Repeat until the background task finishes
- Important: Keep polling even if no progress log exists yet (the command takes a few seconds to start writing)
- Wait ~10 seconds (use
- On completion, read the full background task output and report number of files found.
- Review plan and suggest exclusions:
- Read
.agents-reverse-engineer/GENERATION-PLAN.mdand.agents-reverse-engineer/config.yaml - Scan the Phase 1 file list and classify files into these categories:
- Test/spec files: matches like
*.test.*,*.spec.*,__tests__/**,__mocks__/**,*.stories.*,*.story.* - CI/CD configs:
.github/workflows/*.yml,.gitlab-ci.yml,Jenkinsfile,.circleci/**,.travis.yml - Tool configs:
.eslintrc*,.prettierrc*,jest.config.*,.editorconfig,babel.config.*,webpack.config.*,vite.config.*,rollup.config.*,tsconfig*.json,.lintstagedrc*,.huskyrc*,.stylelintrc*,commitlint.config.* - Migration files: paths containing
migrations/or matching*.migration.* - Fixture/snapshot files:
__snapshots__/**,*.fixture.*,fixtures/**,test-data/**,testdata/** - Type declarations:
*.d.ts(not source code, auto-generated or ambient) - Docker/infra:
Dockerfile*,docker-compose*,*.Dockerfile,k8s/**,terraform/**,helm/**
- Test/spec files: matches like
- For each category, count how many files from the plan match and list up to 3 example filenames
- Skip categories with zero matches — only present categories that have files in the plan
- Also skip patterns that are already in the current
config.yamlexclude list - Present the findings in a summary table showing category, file count, example files, and proposed glob patterns
- Ask the user which categories to exclude using
AskUserQuestionwithmultiSelect: true - For accepted categories, use the Edit tool to append the corresponding glob patterns to the
exclude.patternsarray in.agents-reverse-engineer/config.yaml - After editing, briefly confirm what was added
</execution>
- Read
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.

