mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-19 13:11:18 -08:00
Compare commits
30
Commits
6f98f6bd7f
..
v1.5.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b942b2b9f0 | ||
|
|
725af08c90 | ||
|
|
c10354abff | ||
|
|
b1502edfb2 | ||
|
|
87b6b643f0 | ||
|
|
d6354099a9 | ||
|
|
582cfccdf5 | ||
|
|
b3369e5f76 | ||
|
|
0cbacb2a37 | ||
|
|
1eeab9cbb3 | ||
|
|
7ec47ba7b1 | ||
|
|
61bad114ec | ||
|
|
d8369a0b8c | ||
|
|
bdebbe30ae | ||
|
|
bb76590667 | ||
|
|
e88f467b40 | ||
|
|
6c04256274 | ||
|
|
b2a2ddfc43 | ||
|
|
ef30ff0858 | ||
|
|
06f8f78e89 | ||
|
|
3dc6681151 | ||
|
|
0727988616 | ||
|
|
5703ecf8bd | ||
|
|
fb945f3084 | ||
|
|
47574f78cb | ||
|
|
7888f06f11 | ||
|
|
38bd676afa | ||
|
|
7bca4bf9b7 | ||
|
|
1bd05b2fe5 | ||
|
|
89437d36b4 |
No files matched your search
@@ -185,11 +185,11 @@ When modifying workflow prompts in `src/`:
|
|||||||
- Loop task mode: `createTaskCommit()` in `plan2code-loop/src/utils/git.ts` appends the footer automatically
|
- Loop task mode: `createTaskCommit()` in `plan2code-loop/src/utils/git.ts` appends the footer automatically
|
||||||
- Loop phase mode: Prompt template instructs the LLM to add `-m "AI Assisted"` as the final flag
|
- Loop phase mode: Prompt template instructs the LLM to add `-m "AI Assisted"` as the final flag
|
||||||
- Implement mode: User-facing commit suggestions in `src/plan2code-3--implement.md` include the footer
|
- Implement mode: User-facing commit suggestions in `src/plan2code-3--implement.md` include the footer
|
||||||
- **Init workflow:** `src/smarsh2code---init.md` generates AGENTS.md files with a Git Commit Messages section that includes this convention by default
|
- **Init workflow:** `src/plan2code---init.md` generates AGENTS.md files with a Git Commit Messages section that includes this convention by default
|
||||||
|
|
||||||
## Mascot
|
## Mascot
|
||||||
|
|
||||||
The project has a mascot called "Smarshy" - an ASCII art robot that appears in installer output and workflow prompts. Mascot variants are defined in `MASCOT` constant in `install.js` and appear in workflow markdown files.
|
The project has a mascot called "Planny" - an ASCII art robot that appears in installer output and workflow prompts. Mascot variants are defined in `MASCOT` constant in `install.js` and appear in workflow markdown files.
|
||||||
|
|
||||||
```
|
```
|
||||||
╭───╮
|
╭───╮
|
||||||
|
|||||||
@@ -219,10 +219,10 @@ The `overview.md` includes a "Parallel Execution Groups" section that identifies
|
|||||||
After running `node install.js`, use the slash commands directly in your AI tool:
|
After running `node install.js`, use the slash commands directly in your AI tool:
|
||||||
|
|
||||||
```
|
```
|
||||||
/smarsh2code-1--plan # Start planning a new feature
|
/plan2code-1--plan # Start planning a new feature
|
||||||
/smarsh2code-2--document # Create implementation docs from plan
|
/plan2code-2--document # Create implementation docs from plan
|
||||||
/smarsh2code-3--implement # Begin/continue implementation
|
/plan2code-3--implement # Begin/continue implementation
|
||||||
/smarsh2code-4--finalize # Wrap up after all phases complete
|
/plan2code-4--finalize # Wrap up after all phases complete
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -23,11 +23,11 @@ async function selectSpec(cwd: string = process.cwd()): Promise<string | null> {
|
|||||||
logger.info('');
|
logger.info('');
|
||||||
logger.info('To get started:');
|
logger.info('To get started:');
|
||||||
logger.info('');
|
logger.info('');
|
||||||
logger.info('1. Create a spec using `smarsh2code-1--plan`');
|
logger.info('1. Create a spec using `plan2code-1--plan`');
|
||||||
logger.info(' command in our AI Agent');
|
logger.info(' command in our AI Agent');
|
||||||
logger.info('');
|
logger.info('');
|
||||||
logger.info('2. Come back here and run `smarsh2code-loop`');
|
logger.info('2. Come back here and run `plan2code-loop`');
|
||||||
logger.info(' as an alternative to `smarsh2code-3--implement`');
|
logger.info(' as an alternative to `plan2code-3--implement`');
|
||||||
logger.info('');
|
logger.info('');
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ Interactive Q&A flow to update an existing `AGENTS.md` with new learnings and pr
|
|||||||
|
|
||||||
Check if `AGENTS.md` exists in project root.
|
Check if `AGENTS.md` exists in project root.
|
||||||
|
|
||||||
**If missing:** "No AGENTS.md found. Create one from scratch? I can analyze the codebase and generate an initial file." Stop and wait. If yes, use `smarsh2code---init.md` workflow.
|
**If missing:** "No AGENTS.md found. Create one from scratch? I can analyze the codebase and generate an initial file." Stop and wait. If yes, use `plan2code---init.md` workflow.
|
||||||
|
|
||||||
**If exists:** Read and summarize:
|
**If exists:** Read and summarize:
|
||||||
- Main sections (bullets)
|
- Main sections (bullets)
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ If no PLAN-DRAFT found and user hasn't provided one, ask for:
|
|||||||
|
|
||||||
If no plan exists and user wants to skip:
|
If no plan exists and user wants to skip:
|
||||||
> "Documentation transforms planning into specs. Without a plan, either:
|
> "Documentation transforms planning into specs. Without a plan, either:
|
||||||
> 1. Run planning first (`/smarsh2code-1--plan`)
|
> 1. Run planning first (`/plan2code-1--plan`)
|
||||||
> 2. Describe requirements so I can help create a minimal plan"
|
> 2. Describe requirements so I can help create a minimal plan"
|
||||||
|
|
||||||
## Phase Sizing
|
## Phase Sizing
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ These phases can run in parallel:
|
|||||||
Which phase? (1/2/3)
|
Which phase? (1/2/3)
|
||||||
|
|
||||||
┌─────────────────────────────────────────────────────────────────────────┐
|
┌─────────────────────────────────────────────────────────────────────────┐
|
||||||
│ TIP: Run another agent instance with /smarsh2code-3--implement to work │
|
│ TIP: Run another agent instance with /plan2code-3--implement to work │
|
||||||
│ on a different phase simultaneously. │
|
│ on a different phase simultaneously. │
|
||||||
│ │
|
│ │
|
||||||
│ IN PROGRESS phases may be running in another session - selecting one │
|
│ IN PROGRESS phases may be running in another session - selecting one │
|
||||||
@@ -341,7 +341,7 @@ This creates a checkpoint you can return to if needed.
|
|||||||
The next uncompleted phase is Phase Y: [Name].
|
The next uncompleted phase is Phase Y: [Name].
|
||||||
To continue, start a NEW conversation with:
|
To continue, start a NEW conversation with:
|
||||||
|
|
||||||
> /smarsh2code-3--implement specs/<feature-name>/overview.md
|
> /plan2code-3--implement specs/<feature-name>/overview.md
|
||||||
|
|
||||||
The command will auto-detect Phase Y as the next phase to implement.
|
The command will auto-detect Phase Y as the next phase to implement.
|
||||||
```
|
```
|
||||||
@@ -378,7 +378,7 @@ Example for continuing:
|
|||||||
> ║ ║
|
> ║ ║
|
||||||
> ║ Then: ║
|
> ║ Then: ║
|
||||||
> ║ 1. Start a NEW conversation ║
|
> ║ 1. Start a NEW conversation ║
|
||||||
> ║ 2. Use command: /smarsh2code-3--implement ║
|
> ║ 2. Use command: /plan2code-3--implement ║
|
||||||
> ║ 3. Provide path: specs/<feature-name>/overview.md ║
|
> ║ 3. Provide path: specs/<feature-name>/overview.md ║
|
||||||
> ║ ║
|
> ║ ║
|
||||||
> ║ The command will auto-detect Phase 3 as next. ║
|
> ║ The command will auto-detect Phase 3 as next. ║
|
||||||
@@ -386,7 +386,7 @@ Example for continuing:
|
|||||||
> ╚═══════════════════════════════════════════════════════════════════╝
|
> ╚═══════════════════════════════════════════════════════════════════╝
|
||||||
> ```
|
> ```
|
||||||
>
|
>
|
||||||
> Need to change the plan? Use `/smarsh2code-1b--revise` before continuing."
|
> Need to change the plan? Use `/plan2code-1b--revise` before continuing."
|
||||||
|
|
||||||
Example for final phase:
|
Example for final phase:
|
||||||
|
|
||||||
@@ -410,13 +410,13 @@ Example for final phase:
|
|||||||
> ║ ║
|
> ║ ║
|
||||||
> ║ Then: ║
|
> ║ Then: ║
|
||||||
> ║ 1. Start a NEW conversation ║
|
> ║ 1. Start a NEW conversation ║
|
||||||
> ║ 2. Use command: /smarsh2code-4--finalize ║
|
> ║ 2. Use command: /plan2code-4--finalize ║
|
||||||
> ║ 3. Provide path: specs/<feature-name>/overview.md ║
|
> ║ 3. Provide path: specs/<feature-name>/overview.md ║
|
||||||
> ║ ║
|
> ║ ║
|
||||||
> ╚═══════════════════════════════════════════════════════════════════╝
|
> ╚═══════════════════════════════════════════════════════════════════╝
|
||||||
> ```
|
> ```
|
||||||
>
|
>
|
||||||
> Need to revise before finalizing? Use `/smarsh2code-1b--revise` first."
|
> Need to revise before finalizing? Use `/plan2code-1b--revise` first."
|
||||||
|
|
||||||
## Abort Handling
|
## Abort Handling
|
||||||
|
|
||||||
@@ -426,7 +426,7 @@ If user says "abort", "cancel", or similar:
|
|||||||
- List completed vs remaining tasks
|
- List completed vs remaining tasks
|
||||||
- Note created/modified files
|
- Note created/modified files
|
||||||
- Do NOT change phase checkbox (stays `[/]`)
|
- Do NOT change phase checkbox (stays `[/]`)
|
||||||
- Explain: "Run `/smarsh2code-3--implement` again to resume."
|
- Explain: "Run `/plan2code-3--implement` again to resume."
|
||||||
3. Stop implementation
|
3. Stop implementation
|
||||||
|
|
||||||
## Recovery
|
## Recovery
|
||||||
|
|||||||
@@ -304,7 +304,7 @@ specs--completed/
|
|||||||
║ All tasks finished. Specs archived to: ║
|
║ All tasks finished. Specs archived to: ║
|
||||||
║ specs--completed/<feature-name>/ ║
|
║ specs--completed/<feature-name>/ ║
|
||||||
║ ║
|
║ ║
|
||||||
║ Thank you for using the Smarsh2Code workflow! ║
|
║ Thank you for using the Plan2Code workflow! ║
|
||||||
║ ║
|
║ ║
|
||||||
╚═══════════════════════════════════════════════════════════════════╝
|
╚═══════════════════════════════════════════════════════════════════╝
|
||||||
```
|
```
|
||||||
@@ -352,7 +352,7 @@ Options:
|
|||||||
║ Return to implementation before finalizing. ║
|
║ Return to implementation before finalizing. ║
|
||||||
║ ║
|
║ ║
|
||||||
║ 1. Start a NEW conversation ║
|
║ 1. Start a NEW conversation ║
|
||||||
║ 2. Use command: /smarsh2code-3--implement ║
|
║ 2. Use command: /plan2code-3--implement ║
|
||||||
║ 3. Provide path: specs/<feature-name>/overview.md ║
|
║ 3. Provide path: specs/<feature-name>/overview.md ║
|
||||||
║ ║
|
║ ║
|
||||||
║ The command will auto-detect the next Phase to implement. ║
|
║ The command will auto-detect the next Phase to implement. ║
|
||||||
|
|||||||
Reference in new issue
Block a user