igbuend/grimbard/codebase-discovery
Claude Code and agent skill by igbuend/grimbard
- community
Checking that the SKILL.md file is still in the repository.
Generate security-focused DISCOVERY.md for code review and threat modeling. Use when assessing unfamiliar codebases.
Install
npx vskill@latest install igbuend/grimbard/codebase-discoverySKILL.md
Codebase Security Discovery
Generate a security-focused DISCOVERY.md for the codebase at $ARGUMENTS.
When to Use This Skill
- Security assessment of a new codebase
- Threat modeling preparation
- Security-focused code review
- Compliance audit preparation
Workflow Steps
- Discover - Run file discovery commands at $ARGUMENTS
- Analyze - Examine auth, crypto, validation patterns
- Map - Identify trust boundaries and entry points
- Document - Generate DISCOVERY.md using template below
- Verify - Complete generation checklist
Discovery Commands
Security-Relevant Files
Analysis Targets
| Area | What to Examine | |
|---|---|---|
| Dependencies | Vulnerable packages, outdated versions, unnecessary deps | |
| Trust Boundaries | HTTP endpoints, file uploads, CLI args, env vars, DB queries, message queues | |
| Auth Flow | Identity verification, session management, token handling, permission checks, RBAC |
Security-Enhanced Structure (Based on Claude.md)
project-root/ ├── src/ │ ├── auth/ # [!] Authentication logic │ ├── middleware/ # [!] Security middleware, validators │ ├── controllers/ # [!] Input handling, business logic │ ├── models/ # [!] Data models, ORM queries │ ├── services/ # External integrations │ └── utils/ │ ├── crypto.js # [!] Cryptographic operations │ └── sanitize.js # [!] Input sanitization ├── config/ # [!] Configuration, potential secrets └── tests/ └── security/ # Security-specific tests (if any)
[Diagram or step-by-step flow]
- User submits credentials to POST /auth/login
- Server validates against [user store]
- [Session/Token] created and returned
- Subsequent requests authenticated via [header/cookie]
[Input] → [Validation] → [Processing] → [Storage] ↓ [Logging - what's logged?]
Node.js
npm audit
Python
pip-audit / safety check
Go
govulncheck ./...
Ruby
bundle audit
Generation Checklist
Before finalizing, verify:
- [ ] All entry points identified
- [ ] Authentication flow fully traced
- [ ] Authorization enforcement points mapped
- [ ] Sensitive data flows documented
- [ ] Cryptographic usage catalogued
- [ ] External integrations listed
- [ ] High-risk areas highlighted
- [ ] Security controls inventory complete
Success Criteria
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/codebase-discovery/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 22 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/igbuend/grimbard/codebase-discovery)