feat(commands): add /replicate command
Entry point for paper replication workflow.
This commit is contained in:
parent
d376cc113a
commit
400caf2c00
37
.opencode/commands/replicate.md
Normal file
37
.opencode/commands/replicate.md
Normal file
@ -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.
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue
Block a user