Skip to content
comprehensive-tracing logo

Comprehensive Tracing Standards

comprehensive-tracing

Enforces thorough code analysis with all entry points, complete flow tracing, architectural reasoning, and consumption tracking

SKILL.md

Full skill instructions

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)

More Marketing skills

copywriting logo
Marketing

copywriting

Marketing copy for homepages, landing pages, pricing pages, and other conversion-focused web pages.

53.3K 216.1K
View
flux-2-klein logo
Marketing

flux-2-klein

Fast image generation with Flux 2 Klein, optimized for sub-second iteration and multi-reference brand styling.

52 176.2K
View

Psychological principles and mental models for understanding customer behavior and influencing marketing decisions.

53.3K 153K
View

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
ai-seo logo
Marketing

ai-seo

Optimize content for discovery, citation, and visibility across AI search platforms and LLM assistants.

53.3K 136.7K
View
copy-editing logo
Marketing

copy-editing

Systematic improvement of existing marketing copy through seven focused editing passes.

53.3K 136.4K
View

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View
revops logo
Marketing

revops

Design and optimize systems connecting marketing, sales, and customer success into a unified revenue engine.

53.3K 104.9K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Convert websites into professional HyperFrames videos with guided storyboarding and brand-aligned composition.

57K 93.5K
View

Sales & marketing AI tools

KreadoAI logo
Sales & marketing

KreadoAI

Revolutionize Video Creation with AI-Generated Avatars and Voices

Paid
View
Followr logo
Sales & marketing

Followr

Social media on autopilot

Paid
View
Logodiffusion logo
Sales & marketing

Logodiffusion

Design custom logos instantly with AI.

Paid
View
I
Sales & marketing

Ideogram

Text-heavy marketing and design images

Freemium
View
Prompt Silo logo
Sales & marketing

Prompt Silo

Boost Your SEO with Content and SEO Silos

Free
View
Marketing Blocks logo
Sales & marketing

Marketing Blocks

Revolutionize Your Marketing with AI-Powered MarketingBlocks!

Paid
View
Scrip AI logo
Sales & marketing

Scrip AI

10X faster & free AI content creation for 100+ use cases

Free
View
T
Sales & marketing

Tribescaler

Tribescaler | Make Your Tweets Go Viral

Paid
View