xiaohongshu
xiaohongshu
d-inspect
Inspect code and propose root cause hypotheses. Creates ./.gtd/debug/current/HYPOTHESES.md
Full skill instructions
Core responsibilities:
Flow: Load Symptom → Trace Code → Form Hypotheses → Rank by Confidence </objective>
<context> **Required files:**./.gtd/debug/current/SYMPTOM.md — Must existOutput:
./.gtd/debug/current/HYPOTHESES.mdAgents used:
research — During code tracing
</context>| Workflow | Relationship |
|---|---|
/d-symptom | Provides symptom for analysis |
/d-verify | Tests these hypotheses |
</related>
<philosophy>Don't fixate on the first idea. Generate 3-5 competing hypotheses.
Rate each hypothesis honestly:
Each hypothesis needs supporting evidence from code analysis.
</philosophy>
<process>Read ./.gtd/debug/current/SYMPTOM.md.
if ! test -f "./.gtd/debug/current/SYMPTOM.md"; then
echo "Error: No symptom documented. Run /d-symptom first."
exit 1
fi
Trigger: Immediately after loading symptom.
Fill prompt and spawn:
<objective>
Analyze root cause for symptom_file: ./.gtd/debug/current/SYMPTOM.md
</objective>
<investigation_checklist>
1. Identify Entry Points (triggers)
2. Trace Execution Flow (conditions, branches)
3. Examine Suspect Areas (logic gaps, state)
4. Check Dependencies (config, DB)
</investigation_checklist>
<output_format>
Ranked Hypotheses (3-5):
- Description
- Evidence (File:Line)
- Confidence Level
- Verification Method
</output_format>
Task(
prompt=filled_prompt,
subagent_type="researcher",
description="Investigating root cause"
)
Write to ./.gtd/debug/current/HYPOTHESES.md:
# Root Cause Hypotheses
**Analyzed:** {date}
**Status:** PENDING VERIFICATION
## Summary
Based on code analysis, here are the most likely root causes:
---
## Hypothesis 1: {Short description}
**Confidence:** High (75%)
**Description:**
{Detailed explanation of what you think is wrong}
**Evidence:**
- {Observation 1 from code}
- {Observation 2 from code}
- {Supporting fact}
**Location:**
- Files: `{file1}`, `{file2}`
- Lines: {line ranges}
**Verification Method:**
{How to confirm/reject this hypothesis}
---
## Hypothesis 2: {Short description}
**Confidence:** Medium (50%)
{Same structure as above}
---
## Hypothesis 3: {Short description}
**Confidence:** Low (25%)
{Same structure as above}
---
## Code Analysis Notes
{Any additional observations, patterns, or concerns}
</process>
<offer_next>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GTD:DEBUG ► HYPOTHESES GENERATED ✓
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Hypotheses documented: ./.gtd/debug/current/HYPOTHESES.md
Total hypotheses: {N}
Highest confidence: {X}%
─────────────────────────────────────────────────────
▶ Next Up
/d-verify — verify hypotheses with debug logs
─────────────────────────────────────────────────────
</offer_next>
<forced_stop> STOP. The workflow is complete. Do NOT automatically run the next command. Wait for the user. </forced_stop>
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience