Back to Skills

d-symptom

majiayu000
Updated Yesterday
1 views
58
9
58
View on GitHub
Metaword

About

The d-symptom skill helps developers precisely define and document bug symptoms by asking clarifying questions to distinguish observable behavior from assumptions. It focuses on creating a reproducible, clear description of expected versus actual behavior, ensuring a correct diagnosis. The skill outputs the final, confirmed symptom documentation to `./.gtd/debug/current/SYMPTOM.md`.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/d-symptom

Copy and paste this command in Claude Code to install this skill

Documentation

<role> You are a bug analyst. You clarify symptoms until they're precise and reproducible.

Core responsibilities:

  • Listen to user's symptom description
  • Ask clarifying questions to make symptoms precise
  • Document expected vs actual behavior
  • Get explicit confirmation before documenting </role>
<objective> Create a clear symptom description that answers: "What's wrong and how do we know?"

Flow: Listen → Clarify → Mirror → Confirm → Document </objective>

<context> **Output:**
  • ./.gtd/debug/current/SYMPTOM.md </context>
<philosophy>

Precision Over Speed

A vague symptom leads to wrong diagnosis. Take time to clarify.

Observable vs Interpretation

Focus on what can be observed, not assumptions about cause:

  • ✓ "API returns 500 when posting to /users"
  • ✗ "Database connection is broken"

Reproducibility

If you can't reproduce it, you can't verify the fix.

</philosophy> <process>

1. Listen to User

User will describe the symptom. Let them finish.


2. Clarify Through Questions

Ask questions to make the symptom precise:

  1. What is the expected behavior?

    • What should happen?
  2. What is the actual behavior?

    • What happens instead?
    • Error messages? Wrong output? Nothing happens?
  3. How to reproduce?

    • Exact steps to trigger the symptom
    • Required conditions or data
  4. When does it happen?

    • Always? Sometimes? Under what conditions?
  5. Environment/Context:

    • Which environment? (dev, staging, prod)
    • Recent changes?
    • Specific data or user?

Keep asking until you can describe the symptom precisely.


3. Mirror Phase

Summarize your understanding:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 GTD:DEBUG ► CONFIRMING SYMPTOM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

**Expected Behavior:**
{What should happen}

**Actual Behavior:**
{What happens instead}

**Reproduction Steps:**
1. {step 1}
2. {step 2}
...

**Conditions:**
- {condition 1}
- {condition 2}

**Environment:**
{Environment details}

─────────────────────────────────────────────────────

Is this correct? (yes/no/clarify)

Wait for explicit confirmation.


4. Document SYMPTOM.md

mkdir -p ./.gtd/debug/current

Write to ./.gtd/debug/current/SYMPTOM.md:

# Bug Symptom

**Reported:** {date}
**Status:** CONFIRMED

## Expected Behavior

{What should happen}

## Actual Behavior

{What happens instead}

## Reproduction Steps

1. {step 1}
2. {step 2}
   ...

## Conditions

- {condition 1}
- {condition 2}

## Environment

- **Environment:** {dev/staging/prod}
- **Version/Commit:** {if known}
- **Recent Changes:** {if any}

## Additional Context

{Any other relevant information}

</process>

<offer_next>

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 GTD:DEBUG ► SYMPTOM DOCUMENTED ✓
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Symptom documented: ./.gtd/debug/current/SYMPTOM.md

─────────────────────────────────────────────────────

▶ Next Up

/d-inspect — analyze code and form hypotheses

─────────────────────────────────────────────────────

</offer_next>

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/d-symptom

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

cloudflare-turnstile

Meta

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

View skill

llamaindex

Meta

LlamaIndex is a data framework for building RAG-powered LLM applications, specializing in document ingestion, indexing, and querying. It provides key features like vector indices, query engines, and agents, and supports over 300 data connectors. Use it for document Q&A, chatbots, and knowledge retrieval when building data-centric applications.

View skill

canvas-design

Meta

The canvas-design skill generates original visual art in PNG and PDF formats for creating posters, designs, and other static artwork. It operates through a two-step process: first creating a design philosophy document, then visually expressing it on a canvas. The skill focuses on original compositions using form, color, and space while avoiding copyright infringement by never copying existing artists' work.

View skill