leonanpereirapinto/ai-utils/investigar-area
Claude Code and agent skill by leonanpereirapinto/ai-utils
- community
Checking that the SKILL.md file is still in the repository.
Investigates a specific repository area using the general project map and one scoped investigation task, producing an evidence-backed report for that area. Use when the user asks to deepen understanding of a subsystem, execute a project investigation task, or analyze one part of the codebase without implementing changes. Do not use for project-wide mapping, feature implementation, or bug fixing.
Install
npx vskill@latest install leonanpereirapinto/ai-utils/investigar-areaSKILL.md
Area Investigation
Procedures
Step 1: Validate Inputs
- Confirm the project map path and the investigation task path.
- Read both files completely before exploring code.
- If paths are not provided, infer them from the same
./tasks/project-map-[project-slug]/directory when possible. - Derive the output path:
./tasks/project-map-[project-slug]/results/[task-id]-[area-slug]-result.md. - If the result file already exists, confirm before overwriting.
Step 2: Rebuild Investigation Context (Mandatory)
- Extract scope, key questions, hypotheses, and starting points from the task.
- Re-read
AGENTS.mdand any local instructions that apply to the relevant directories. - Read the files, configs, tests, docs, and symbols named in the map and task before expanding further.
- Keep the investigation within the declared scope unless adjacent code is required to answer the task.
Step 3: Investigate the Area Deeply (Mandatory)
- Trace the main runtime paths, data flow, boundaries, and integrations for the scoped area.
- Identify the relevant modules, ownership boundaries, extension points, failure paths, and test coverage.
- Separate confirmed facts from informed inference.
- Capture file references and concrete evidence for important claims.
- Record unknowns and contradictions instead of smoothing them over.
Step 4: Generate the Area Report (Mandatory)
- Read the template at
assets/investigation-result-template.md. - Create the directory
./tasks/project-map-[project-slug]/results/if it does not exist. - Write the final report to
./tasks/project-map-[project-slug]/results/[task-id]-[area-slug]-result.md. - Include answered questions, architecture notes, evidence, risks, open questions, and recommended next steps.
- Keep the report focused on the task scope. Do not rewrite the entire project map.
Step 5: Report Results
- Provide the output path for the investigation result.
- Summarize the most important findings and unresolved questions.
- Recommend whether another investigation task should be run next.
Guidelines
- Treat
project-map.mdas shared context, not as ground truth. - Use the task file as the boundary of the investigation.
- Prefer direct code evidence over assumptions or style guidance.
- Cite the files or symbols that justify each important finding.
- Do not implement fixes or refactors unless the user explicitly changes the request.
Quality Checklist
- [ ] General project map read completely.
- [ ] Investigation task read completely.
- [ ] Relevant repository instructions re-checked for the scoped area.
- [ ] Report generated with the template.
- [ ] Findings backed by concrete evidence.
- [ ] Result saved under
./tasks/project-map-[project-slug]/results/. - [ ] Final path and summary reported to the user.
Error Handling
- If
project-map.mdor the task file is missing, halt and direct the user tomapear-projeto. - If the task scope is too broad, narrow it before proceeding and state the change clearly.
- If the evidence in code conflicts with the map or task, trust the code and record the mismatch in the report.
- If the output file already exists, confirm before overwriting.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/spec-driven/investigar-area/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/leonanpereirapinto/ai-utils/investigar-area)