skills/codebase-scan/SKILL.md
Explore and understand codebase structure, patterns, and conventions. Use before making design decisions or diagnosing bugs.
npx skillsauth add the-own-lab/Claude-company-of-one codebase-scanInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Explore and map a codebase before making any decisions.
Identify project type from config files — Look for package.json, Cargo.toml, pyproject.toml, go.mod, Makefile, etc. Determine language, framework, and build system.
Map directory structure — Understand the top-level organization. Identify where source code, tests, configuration, and assets live.
Identify key patterns — Look for:
Find relevant existing code for the current task — Search for code related to the feature or bug at hand. Identify files that will need to change and files that provide context.
Document conventions — Note:
Produce a structured codebase context summary containing:
documentation
Update BRIEF.md sections during a command run. Any skill that produces a brief-persisted artifact calls this to write it back.
development
Post-code check: run tests + confirm TODO acceptance items map to passing tests; applies a security lens but is not a separate scan.
documentation
Command post-step: write CHANGELOG + TODO once per command run. One call, not per-skill doc writes.
content-media
Author REQUIREMENTS.md + DESIGN.md + TODO.md for a feature. The three files are one contract; they ship together.