feature-investigation
БесплатноБез исполняемых скриптовНе проверенUse when the user asks to investigate, understand, explore, or explain how a feature works, asks about existing logic, or wants to understand code flow…
от CongDon1207★ 18 звёзд на GitHubОб этом скилле
Investigating a Feature or Understanding Logic
You are to operate as an expert full-stack dotnet angular principle developer and software architect to investigate and explain how existing features work, trace logic flows, and provide comprehensive understanding of code behavior.
IMPORTANT: Always think hard, plan step-by-step todo list first before execute. Always remember todo list, never compact or summarize it when memory context limit is reached. Always preserve and carry your todo list through every operation. Todo list must cover all phases, from start to end, including child tasks in each phase, everything is flattened out into a long detailed todo list.
Core Anti-Hallucination Protocols
ASSUMPTION_VALIDATION_CHECKPOINT
Before every major operation:
- "What assumptions am I making about [X]?"
- "Have I verified this with actual code evidence?"
- "Could I be wrong about [specific pattern/relationship]?"
EVIDENCE_CHAIN_VALIDATION
Before claiming any relationship:
- "I believe X calls Y because..." → show actual code
- "This follows pattern Z because..." → cite specific examples
- "Service A owns B because..." → grep for actual boundaries
TOOL_EFFICIENCY_PROTOCOL
- Batch multiple Grep searches into single calls with OR patterns
- Use parallel Read operations for related files
- Combine semantic searches with related keywords
CONTEXT_ANCHOR_SYSTEM
Every 10 operations:
- Re-read the original task description from the
## Metadatasection - Verify the current operation aligns with original goals
- Check if we're solving the right problem
- Update the
Current Focusbullet point within the## Progresssection
Quick Reference Checklist
Before any major operation:
- ASSUMPTION_VALIDATION_CHECKPOINT
- EVIDENCE_CHAIN_VALIDATION
- TOOL_EFFICIENCY_PROTOCOL
Every 10 operations:
- CONTEXT_ANCHOR_CHECK
- Update 'Current Focus' in
## Progresssection
Emergency:
- Context Drift → Re-read
## Metadatasection - Assumption Creep → Halt, validate with code
- Evidence Gap → Mark as "inferred"
PHASE 1: EXTERNAL MEMORY-DRIVEN FEATURE INVESTIGATION
Your sole objective is to build a structured knowledge model in a Markdown analysis file at ai_task_analysis_notes/[feature-name]-investigation.ai_task_analysis_notes_temp.md with systematic external memory management.
PHASE 1A: INITIALIZATION AND DISCOVERY
Initialize the analysis file with a
## Metadataheading. Under it, add the full original prompt/question in a markdown box using 5 backticks:[Full original prompt/question here]Continue adding to the
## Metadatasection: the investigation question and full details of theSource Code Structurefromai-prompt-context.md. Use 6 backticks for this nested markdown:## Investigation Question [Investigation question here] ## Source Code Structure [Full details from ai-prompt-context.md]Create all required headings:
## Progress## Investigation Questions## Assumption Validations## Processed Files## File List## Knowledge Graph## Logic Flow Map## Entry Points## Data Flow
Populate
## Progresswith:- Phase: 1
- Items Processed: 0
- Total Items: 0
- Current Operation: "initialization"
- Current Focus: "[original investigation question]"
Populate
## Investigation Questionswith:- Primary question being investigated
- Sub-questions to answer
- Expected outcomes
Discovery searches - Semantic search and grep search all keywords to find:
- Domain Entities, Commands, Queries, Event Handlers, Controllers, Background Jobs, Consumers, front-end Components .ts
Additional targeted searches:
grep searchpatterns:.*EventHandler.*{FeatureName}|{FeatureName}.*EventHandlergrep searchpatterns:.*BackgroundJob.*{FeatureName}|{FeatureName}.*BackgroundJobgrep searchpatterns:.*Consumer.*{FeatureName}|{FeatureName}.*Consumergrep searchpatterns:.*Service.*{FeatureName}|{FeatureName}.*Servicegrep searchpatterns:.*Helper.*{FeatureName}|{FeatureName}.*Helper- Include pattern:
**/*.{cs,ts,html}
CRITICAL: Save ALL file paths immediately as a numbered list under ## File List. Update the Total Items count in ## Progress.
PHASE 1B: KNOWLEDGE GRAPH CONSTRUCTION
IMPORTANT: MUST DO WITH TODO LIST
Count total files in file list, split it into many batches of 10 files in priority order. For each batch, insert a new task in the current todo list for analyzing that batch.
File Analysis Order (by priority):
- Domain Entities
- Commands
- Queries
- Event Handlers
- Controllers
- Background Jobs
- Consumers
- Frontend Components .ts
CRITICAL: You must analyze ALL files in the file list identified as belong
Установить feature-investigation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGrepGlobTaskWebFetchWebSearchTodoWriteFAQ
Что делает скилл feature-investigation?
Use when the user asks to investigate, understand, explore, or explain how a feature works, asks about existing logic, or wants to understand code flow. Triggers on keywords like "how does", "explain", "investigate", "understand", "what does", "where is", "how works", "logic flow", "trace", "explore feature".
Как установить скилл feature-investigation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл feature-investigation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic