analyze-codebase
Skill8 starsChanged 8 months agoMITView on GitHub
Codebase discovery and analysis for Stage B of the VibeFlow docs-first workflow
3 other projects use a version of this.
Adopted by
Most recently taken up by
- MehdiSoliman/personal-skillstheir own version, first seen Oct 13, 2026
- hidekitux/skillstheir own version, first seen Sep 8, 2026
- toantran292/claude-skillstheir own version, first seen Mar 11, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- hidekitux/skills★ 0same name
- MehdiSoliman/personal-skills★ 0same name
- toantran292/claude-skills★ 0same 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 repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- clarify-demandSkill
- create-feature-specSkill
- define-prdSkill
- define-tech-specSkill
- manage-workSkill
- prepare-releaseSkill
- record-decisionSkill
- run-tddSkill
- validate-checkpointSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 73
After completing Stage B, update docs/workflow-state.yaml:
- Distinctive: line 80
After completing this stage, ask the user for permission before committing:
- Very specific: line 91
After the commit is complete, directly run /manage-work advance <ID> to advance to the next stage.
“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
analyze-codebase
Codebase discovery and analysis for Stage B of the VibeFlow docs-first workflow.
Purpose
This skill creates Discovery documents for Stage B:
- Analyze existing specs and code
- Validate spec-code alignment
- Map dependencies and side effects
- Identify reusable components
Workflow
Stage B: Discovery
│
├── Analyze existing specs and code
├── Validate spec-code alignment
├── Map dependencies and side effects
└── Identify reusable componentsUsage
Create Discovery Document
/analyze-codebase <ID>Creates docs/discovery/disco-<ID>.md with all 5 phases.
Example:
/analyze-codebase 030Document Requirements
Discovery (docs/discovery/disco-<ID>.md)
Required phases:
- Phase 0: Spec Discovery (analyze existing specs)
- Phase 1: Spec-Code Validation (verify accuracy)
- Phase 2: Test Impact Analysis (test update checklist)
- Phase 3: Dependency & Side Effect Mapping
- Phase 4: Reusable Component Discovery
- Risk Assessment & Go/No-Go Recommendation
Validation
scripts/validate_discovery.py— Validate discovery document
References
See references/:
discovery-guide.md— Discovery phases guide
Manifest Update
After completing Stage B, update docs/workflow-state.yaml:
- Set
stage: B - Set
docs.discovery: docs/discovery/disco-<ID>.md
Git Commit
After completing this stage, ask the user for permission before committing:
git add docs/discovery/disco-<ID>.md docs/workflow-state.yaml
git commit -m "feat(discovery): codebase analysis for <slug> (#ft-<ID>)"Replace <ID> and <slug> with actual values.
Auto-Advance
After the commit is complete, directly run /manage-work advance <ID> to advance to the next stage.
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.

