code to paper
1
总安装量
0
周安装量
#50516
全站排名
安装命令
npx skills add https://github.com/midhunxavier/article-writing --skill Code to Paper
Skill 文档
Code to Paper Skill
Meta workflow skill that guides you through transforming your code implementation into a complete research paper. Provides interactive guidance and orchestrates other skills.
Overview
This skill helps you:
- Plan your paper structure
- Identify what to extract from code
- Organize the writing workflow
- Coordinate multiple skills
- Track progress
Commands
/code-to-paper [--format latex|docx]
Start the interactive code-to-paper workflow.
Parameters:
--format latex|docx(optional): Target document format (default:latex)
Workflow Overview
ââââââââââââââââââ ââââââââââââââââââ ââââââââââââââââââ
â Your Code ââââââ¶â Analysis ââââââ¶â Paper Section â
â (Python/etc) â â (Structured) â â (LaTeX/DOCX) â
ââââââââââââââââââ ââââââââââââââââââ ââââââââââââââââââ
â â â
models/ notes/implementation/ sections/
training/ - architecture.md methodology.tex
evaluation/ - training.md experiments.tex
Workflow Steps
1. Code Analysis
- Use
analyze-codeto extract implementation details - Generate structured notes about architecture, training, evaluation
- Identify key components for methodology section
2. Research Integration
- Use
research-papersto find related work - Use
manage-citationsto build bibliography - Organize research materials
3. Writing Sections
- Use
write-sectionto write methodology from code analysis - Use
write-sectionto write experiments from evaluation code - Use
write-sectionto write related work from research
4. Figures and Tables
- Use
create-figuresto generate architecture diagrams - Use
create-figuresto create result tables - Use
create-figuresto plot training curves
5. Review and Refine
- Use
review-paperto get feedback - Use
format-documentto validate formatting - Iterate based on feedback
6. Compile and Finalize
- Use
compile-paperto build PDF - Check page limits
- Final review
Interactive Guidance
The skill provides step-by-step guidance:
- Suggests which skills to use next
- Helps organize your workflow
- Tracks what’s been completed
- Identifies missing components
Examples
# Start workflow for LaTeX paper
/code-to-paper
# Start workflow for DOCX paper
/code-to-paper --format docx
Integration with Other Skills
This skill coordinates:
analyze-code– Extract code detailsresearch-papers– Find related workmanage-citations– Build bibliographywrite-section– Write contentcreate-figures– Generate visualsreview-paper– Get feedbackformat-document– Validate formattingcompile-paper– Build final document
Best Practices
- Start with code analysis: Understand what you have
- Build bibliography early: Add citations before writing
- Write methodology first: Based on code analysis
- Add experiments: From evaluation code and results
- Review iteratively: Get feedback and refine
- Check formatting: Ensure venue compliance
Platform Compatibility
Works on all platforms (Claude Code, Codex, OpenCode, Gemini, Cursor). Command syntax may vary by platform – see platform-specific documentation in docs/.