Back to skills
SKILL.md
Collection
ASecurityEnforces thorough code analysis with all entry points, complete flow tracing, architectural reasoning, and consumption tracking
- 24 stars
- 0 votes
- 0 copies
- 2 views
- Added September 8, 2026
Works with
Security analysis
100/100Pro scans all 21 files and shows the line behind each finding
npx -y skills add mattnigh/skills_collection --skill collection --agent claude-codeAre you the author of Collection?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mattnigh-collection-cc06fd05)---
name: comprehensive-tracing
description: Enforces thorough code analysis with all entry points, complete flow tracing, architectural reasoning, and consumption tracking
version: 1.0.0
triggers:
keywords:
- analyze
- workflow
- how does
- trace
- deep dive
- explain
- search_code
- go_to_definition
- find_references
intent_patterns:
- "understand how * works"
- "find all * that"
- "trace the * flow"
- "search for *"
- "find where * is defined"
- "find all references to *"
tool_triggers:
- mcp__crispy-code-intel__search_code
- mcp__crispy-code-intel__go_to_definition
- mcp__crispy-code-intel__find_references
enforcement: suggest
---
# Comprehensive Tracing Standards
When using MCP tools (search_code, go_to_definition, find_references) or analyzing code workflows, ALWAYS follow these standards:
## Thoroughness Requirements
### 1. Multi-Path Discovery
- NEVER stop at the first entry point found
- Ask: "What OTHER places trigger this behavior?"
- Document ALL paths (UI triggers, API calls, events, scheduled tasks)
### 2. End-to-End Tracing
For each entry point, trace the complete data flow:
```
UI Component → Hook → Data Provider → Service → Database
```
### 3. Architectural Reasoning
Don't just describe WHAT - explain WHY:
- ❌ "Uses zodResolver for validation"
- ✅ "Uses zodResolver with mode: 'onBlur' for performance (prevents re-render on every keystroke)"
### 4. Consumption Over Definition
Show WHERE things are used, not just defined:
- ❌ "Schema defined at validation/opportunities.ts:413"
- ✅ "Schema defined at validation/opportunities.ts:413, consumed by CloseOpportunityModal (line 56) for form validation and opportunities.service.ts (line 145) for API boundary validation"
### 5. File:Line Citations
Every claim must include precise location:
- Component definition: `src/components/Modal.tsx:45-120`
- Hook usage: `src/hooks/useForm.ts:23`
- Schema application: `validation/contacts.ts:89`
## Output Format Requirements
### For Workflow Analysis
```
## [Feature] Workflow Analysis
### Entry Points (ALL of them)
1. [Entry 1] - file:line - How it's triggered
2. [Entry 2] - file:line - How it's triggered
3. [Entry 3] - file:line - How it's triggered
### Data Flow (for each entry point)
Flow A: [Entry 1]
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Component │ → │ Hook │ → │ Provider │
│ file:line │ │ file:line │ │ file:line │
└─────────────┘ └─────────────┘ └─────────────┘
### Validation Points
| Schema | Location | Applied At | Why |
|--------|----------|------------|-----|
| ... | ... | ... | ... |
### Key Architectural Decisions
1. [Decision] - WHY this approach was chosen
2. [Decision] - WHY this pattern was used
### Summary Table
| Question | Answer | Location |
|----------|--------|----------|
| ... | ... | file:line |
```
### Actionable Conclusion
Always end with:
"Would you like me to dive deeper into [specific area]?"
## MCP Tool Usage (When Available)
When MCP tools are available, use this workflow:
```
1. search_code("feature keywords") → Find all entry points
2. For EACH result: find_references("component") → Trace consumers
3. go_to_definition("schema") → Jump to definitions
4. Read actual files → Understand implementation
5. Document ALL paths with file:line references
```
### MCP + Thoroughness Combo
```
MCP Tool Called → This Skill Activates → Thoroughness Enforced
↓ ↓ ↓
search_code() → Reminds: → "Find ALL entry points"
go_to_definition → Reminds: → "Show consumption, not just definition"
find_references → Reminds: → "Trace complete flow"
```
## Quality Checklist
Before completing analysis, verify:
- [ ] Found ALL entry points (not just first one)
- [ ] Traced complete data flow for each path
- [ ] Explained WHY patterns were chosen
- [ ] Showed consumption locations, not just definitions
- [ ] Included file:line references throughout
- [ ] Offered continuation/deeper dive
## Anti-Patterns to Avoid
### ❌ Stopping at First Discovery
```
"The feature is implemented in ComponentX.tsx"
```
Always ask: "Are there OTHER places that trigger this?"
### ❌ Definition Without Consumption
```
"closeOpportunitySchema is defined at line 413"
```
Always show: "...and consumed by A (line X) and B (line Y)"
### ❌ What Without Why
```
"Uses pessimistic mutation mode"
```
Always explain: "Uses pessimistic mode because [reason]"
### ❌ Single Flow Path
```
"User clicks button → API call → Database"
```
Always check: "Are there other UI triggers? Events? Scheduled tasks?"
## Integration with Other Skills
This skill works with:
- **enforcing-principles**: Architectural patterns to look for
- **data-integrity-guards**: Validation layer tracing
- **root-cause-tracing**: When debugging, trace comprehensively
## Examples
### Good: Comprehensive Analysis
```
## Opportunity Close Workflow Analysis
### Entry Points (3 found)
1. Kanban Card Dropdown → OpportunityCardActions.tsx:47-50
2. Kanban Drag-Drop → OpportunityListContent.tsx:388-399
3. SlideOver Edit Form → OpportunitySlideOverDetailsTab.tsx:149-167
### Data Flow
All 3 paths converge at CloseOpportunityModal, which:
- Validates via closeOpportunitySchema (onBlur mode for performance)
- Calls useUpdate → unifiedDataProvider → OpportunitiesService
- Updates stage + win/loss reason atomically
### Why onBlur Mode?
Form uses mode: "onBlur" instead of "onChange" to prevent
re-render storms during reason selection.
```
### Bad: Incomplete Analysis
```
## Opportunity Close Workflow
The opportunity is closed via drag-drop on the Kanban board.
Uses CloseOpportunityModal for reason capture.
```
(Missing: Other entry points, consumption tracking, architectural reasoning)
Files in this skill
- 0Chan-smc__claude-code-workflow-lab__claude__skills__frontend-dev-guidelines__SKILL.md
- 17hz__nextjs-template__claude__skills__example-skill__SKILL.md
- 1ambda__dataops-platform__claude__skills__context-synthesis__SKILL.md
- 1natsu172__dotfiles__claude__skills__git-analysis__SKILL.md
- 1natsu172__dotfiles__claude__skills__github-pr-best-practices__SKILL.md
- 23Maestro__prospect-pipeline__claude__skills__npid-fastapi-skill.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-code-javascript__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-code-python__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-expression-syntax__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-mcp-tools-expert__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-node-configuration__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-workflow-patterns__SKILL.md
- 3x-Projetos__claude-memory-framework__claude__skills__scientist__SKILL.md
- 5MinFutures__futures-arena__claude__skills__migration-tracker__SKILL.md
- 5MinFutures__futures-arena__claude__skills__planning-guidelines__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__assessment-builder__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__book-scaffolding__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__code-validation-sandbox__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__exercise-designer__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__learning-objectives__SKILL.md
Attribution
Related skills
View all in testing →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.