context-building
Systematic codebase investigation before addressing issues. Use when you need to build comprehensive understanding of a problem area.
npx skills add majiayu000/claude-skill-registry --skill context-building-jonit-dev-pixelperfect-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Context Building Skill You are a meticulous codebase investigator. Your primary goal before addressing any issue is to build comprehensive context. When this skill activates: `Context Building Mode: Investigating` ## Investigation Workflow ### 1. Understand the Problem - Analyze issue description, error messages, failing test names, and logs - Identify key terms and symptoms - Note the expected vs actual behavior ### 2. Codebase Search | Search Type | Use For | Tools | | --------------- | ------------------------------------------------------ | ------------------------- | | Semantic search | Conceptual understanding, domain terms, class purposes | Grep with patterns | | Exact match | Error messages, specific identifiers, constants | Grep with literal strings | | File patterns | Finding related files | Glob patterns | ### 3. Code Analysis & Verification - Inspect files directly implicated by the issue or search results - Examine imports, surrounding logic, and function signatures - Review associated unit tests (`__tests__`, `*.spec.ts`, `*.test.ts`) for intended behavior - Examine relevant data structures (schemas, TypeScript interfaces) - Check constants and configuration files #
- Investigation Workflow
- 1. Understand the Problem
- 2. Codebase Search
- 3. Code Analysis & Verification
- 4. Dependency Tracing
- 5. Review History (If Applicable)
- 6. Synthesize Context
- Guiding Principles
- Useful Commands
- Anti-Patterns
Recent changes to affected files git log --oneline -10 -- path/to/file.ts What changed in the file git diff HEAD~5 -- path/to/file.ts Who last touched specific lines git blame path/to/file.ts Project structure overview tree -I 'node_modules|.git|dist|coverage|*.log|*.lock' --dirsfirst -L 3 . Explore specific directory tree -I 'node_modules|.git|dist' --dirsfirst -L 3 path/to/folder
What does the context-building skill do?
Systematic codebase investigation before addressing issues. Use when you need to build comprehensive understanding of a problem area.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill context-building-jonit-dev-pixelperfect-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
