Install
openclaw skills install code-research-crafterResearch codebases and craft professional RFC proposals for GitHub publication. Use when: user wants to analyze a codebase and propose enhancements, write an RFC, research a technical problem with academic rigor, design an architecture proposal, submit a proposal to an open-source project, or create a structured improvement plan. NOT for: simple code reviews, bug fixing, general Q&A, quick code searches, or one-off questions.
openclaw skills install code-research-crafterCraft comprehensive research proposals from code analysis to GitHub RFC publication.
glob **/*.{ts,js,py,go,rs,java} based on the detected language. Read README.md, CONTRIBUTING.md, and docs in docs/ for context.grep "[keyword]" src/** to locate key implementations.research-context.md:
file:line reference and severity (high/medium/low)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.
references/academic-research-guide.md for search methodology."site:arxiv.org [topic] 2024 2025", "site:scholar.google.com [topic]".gh api repos/[owner]/[repo]/discussions --jq '.[].title' (if discussions are enabled).research-context.md under sections:
Error handling: If no academic papers are found, note the gap and proceed with community research only. If the repo has no issues/discussions, focus on academic research and documentation review.
references/architecture-patterns.md for proven design patterns.Checkpoint: Present the proposed solution design to the user. Wait for approval before proceeding. If the user requests changes, iterate on the design and re-present.
proposal.md (and proposal.docx if python-docx is available)references/rfc-template.md for the standard RFC template.# RFC: [Title]
## Metadata
- Author: [name]
- Date: [YYYY-MM-DD]
- Status: Draft
- Related Issues: #[issue numbers]
## Problem Statement
[Quantified problem with code evidence and metrics]
## Prior Art
[Academic research, existing solutions, and community context]
## Proposed Solution
[Architecture, data models, API design, implementation phases]
## Trade-offs
[Cost analysis, migration path, backward compatibility, risks]
## Open Questions
[Unresolved decisions needing community input]
## Call for Collaboration
[How to get involved, what help is needed]
#123 format.gh auth status. If not authenticated, provide setup instructions and ask the user to configure.rfc-[slug].md in the project's docs/ or proposals/ directory.gh issue create -R [owner]/[repo] \
--title "RFC: [Title]" \
--body-file rfc-[slug].md \
--label "enhancement" --label "RFC"
gh CLI is unavailable, try GitHub API via curl:
curl -X POST -H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/[owner]/[repo]/issues \
-d '{"title":"RFC: [Title]","body":"[RFC content]","labels":["enhancement","RFC"]}'
https://github.com/[owner]/[repo]/issues/new| Artifact | Format | Description |
|---|---|---|
research-context.md | Markdown | Running document updated through Phases 1-3 |
proposal.md / proposal.docx | MD/DOCX | Structured technical document |
rfc-[slug].md | Markdown | RFC in standard format |
| GitHub Issue | Web | Link to published RFC |