code-research-crafter
Installation
SKILL.md
Code Research Crafter
Craft comprehensive research proposals from code analysis to GitHub RFC publication.
Workflow
Phase 1: Problem Discovery & Code Analysis
- Ask the user for the target codebase (URL or local path) and the research topic. If neither is provided, do not proceed — ask the user to clarify.
- Map the project structure: use
glob **/*.{ts,js,py,go,rs,java}based on the detected language. ReadREADME.md,CONTRIBUTING.md, and docs indocs/for context. - Search for topic-relevant files:
grep "[keyword]" src/**to locate key implementations. - Read the top relevant files and document findings in
research-context.md:- Code Map: file paths and their roles (table format)
- Problem List: each problem with
file:linereference and severity (high/medium/low) - Metrics: quantified issues (e.g., "3/10 modules lack error handling", "40% of functions have no tests")
- Search existing GitHub issues:
gh issue list -R [repo] --search "[topic]" --limit 20.
Error handling: If the codebase is inaccessible, ask for an alternative URL or local path. If the topic is too broad, narrow down with the user before proceeding.