diff --git a/.opencode/commands/replicate.md b/.opencode/commands/replicate.md new file mode 100644 index 0000000..cbbe72f --- /dev/null +++ b/.opencode/commands/replicate.md @@ -0,0 +1,37 @@ +--- +description: Start paper replication workflow +agent: paper-director +--- + +Start the paper replication workflow for the specified paper. + +## Input + +Paper file: $ARGUMENTS + +If no file specified, ask the user to provide the path to a paper (Markdown file or paste text directly). + +## Workflow + +1. Validate paper file exists (if path provided) +2. Extract paper name from filename or ask user +3. Create workspace directory: `workspace/{paper_name}/` +4. Begin Phase 1: Paper Analysis + - Dispatch @paper-image-extractor + - Dispatch @paper-analyzer +5. Present Human Checkpoint with analysis summary +6. After approval, begin Phase 2: Code Generation (TDD) +7. Begin Phase 3: Verification +8. Present final replication report + +## Example Usage + +``` +/replicate workspace/attention_is_all_you_need.md +``` + +Or without arguments: +``` +/replicate +> Please provide the path to your paper or paste the content directly. +```