mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-19 13:11:18 -08:00
Compare commits
30
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f98f6bd7f | ||
|
|
035cc680a7 | ||
|
|
34704eaf84 | ||
|
|
474e591f58 | ||
|
|
6a6b4c6fac | ||
|
|
b865b74cd0 | ||
|
|
f8c7a96bc7 | ||
|
|
edee3fc65e | ||
|
|
9d67de78c8 | ||
|
|
2409e8dbfb | ||
|
|
eaa9a633a0 | ||
|
|
9a49ba09fb | ||
|
|
7898ebf7ab | ||
|
|
e33a67e269 | ||
|
|
92acc99b71 | ||
|
|
50c281f11f | ||
|
|
5159b531ec | ||
|
|
0cee0f8962 | ||
|
|
b2fdab6814 | ||
|
|
f7da7d34c0 | ||
|
|
18321b62da | ||
|
|
495a5bb861 | ||
|
|
d9f87a7eb1 | ||
|
|
be41f3f1f8 | ||
|
|
87167f54f4 | ||
|
|
a4d15faba9 | ||
|
|
7a25084d25 | ||
|
|
d908a4d44c | ||
|
|
15911e970a | ||
|
|
4086c2e592 |
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 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
|
||||
- **Init workflow:** `src/plan2code---init.md` generates AGENTS.md files with a Git Commit Messages section that includes this convention by default
|
||||
- **Init workflow:** `src/smarsh2code---init.md` generates AGENTS.md files with a Git Commit Messages section that includes this convention by default
|
||||
|
||||
## Mascot
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
```
|
||||
╭───╮
|
||||
|
||||
@@ -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:
|
||||
|
||||
```
|
||||
/plan2code-1--plan # Start planning a new feature
|
||||
/plan2code-2--document # Create implementation docs from plan
|
||||
/plan2code-3--implement # Begin/continue implementation
|
||||
/plan2code-4--finalize # Wrap up after all phases complete
|
||||
/smarsh2code-1--plan # Start planning a new feature
|
||||
/smarsh2code-2--document # Create implementation docs from plan
|
||||
/smarsh2code-3--implement # Begin/continue implementation
|
||||
/smarsh2code-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('To get started:');
|
||||
logger.info('');
|
||||
logger.info('1. Create a spec using `plan2code-1--plan`');
|
||||
logger.info('1. Create a spec using `smarsh2code-1--plan`');
|
||||
logger.info(' command in our AI Agent');
|
||||
logger.info('');
|
||||
logger.info('2. Come back here and run `plan2code-loop`');
|
||||
logger.info(' as an alternative to `plan2code-3--implement`');
|
||||
logger.info('2. Come back here and run `smarsh2code-loop`');
|
||||
logger.info(' as an alternative to `smarsh2code-3--implement`');
|
||||
logger.info('');
|
||||
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.
|
||||
|
||||
**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 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 exists:** Read and summarize:
|
||||
- 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:
|
||||
> "Documentation transforms planning into specs. Without a plan, either:
|
||||
> 1. Run planning first (`/plan2code-1--plan`)
|
||||
> 1. Run planning first (`/smarsh2code-1--plan`)
|
||||
> 2. Describe requirements so I can help create a minimal plan"
|
||||
|
||||
## Phase Sizing
|
||||
|
||||
@@ -103,7 +103,7 @@ These phases can run in parallel:
|
||||
Which phase? (1/2/3)
|
||||
|
||||
┌─────────────────────────────────────────────────────────────────────────┐
|
||||
│ TIP: Run another agent instance with /plan2code-3--implement to work │
|
||||
│ TIP: Run another agent instance with /smarsh2code-3--implement to work │
|
||||
│ on a different phase simultaneously. │
|
||||
│ │
|
||||
│ 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].
|
||||
To continue, start a NEW conversation with:
|
||||
|
||||
> /plan2code-3--implement specs/<feature-name>/overview.md
|
||||
> /smarsh2code-3--implement specs/<feature-name>/overview.md
|
||||
|
||||
The command will auto-detect Phase Y as the next phase to implement.
|
||||
```
|
||||
@@ -378,7 +378,7 @@ Example for continuing:
|
||||
> ║ ║
|
||||
> ║ Then: ║
|
||||
> ║ 1. Start a NEW conversation ║
|
||||
> ║ 2. Use command: /plan2code-3--implement ║
|
||||
> ║ 2. Use command: /smarsh2code-3--implement ║
|
||||
> ║ 3. Provide path: specs/<feature-name>/overview.md ║
|
||||
> ║ ║
|
||||
> ║ The command will auto-detect Phase 3 as next. ║
|
||||
@@ -386,7 +386,7 @@ Example for continuing:
|
||||
> ╚═══════════════════════════════════════════════════════════════════╝
|
||||
> ```
|
||||
>
|
||||
> Need to change the plan? Use `/plan2code-1b--revise` before continuing."
|
||||
> Need to change the plan? Use `/smarsh2code-1b--revise` before continuing."
|
||||
|
||||
Example for final phase:
|
||||
|
||||
@@ -410,13 +410,13 @@ Example for final phase:
|
||||
> ║ ║
|
||||
> ║ Then: ║
|
||||
> ║ 1. Start a NEW conversation ║
|
||||
> ║ 2. Use command: /plan2code-4--finalize ║
|
||||
> ║ 2. Use command: /smarsh2code-4--finalize ║
|
||||
> ║ 3. Provide path: specs/<feature-name>/overview.md ║
|
||||
> ║ ║
|
||||
> ╚═══════════════════════════════════════════════════════════════════╝
|
||||
> ```
|
||||
>
|
||||
> Need to revise before finalizing? Use `/plan2code-1b--revise` first."
|
||||
> Need to revise before finalizing? Use `/smarsh2code-1b--revise` first."
|
||||
|
||||
## Abort Handling
|
||||
|
||||
@@ -426,7 +426,7 @@ If user says "abort", "cancel", or similar:
|
||||
- List completed vs remaining tasks
|
||||
- Note created/modified files
|
||||
- Do NOT change phase checkbox (stays `[/]`)
|
||||
- Explain: "Run `/plan2code-3--implement` again to resume."
|
||||
- Explain: "Run `/smarsh2code-3--implement` again to resume."
|
||||
3. Stop implementation
|
||||
|
||||
## Recovery
|
||||
|
||||
@@ -304,7 +304,7 @@ specs--completed/
|
||||
║ All tasks finished. Specs archived to: ║
|
||||
║ specs--completed/<feature-name>/ ║
|
||||
║ ║
|
||||
║ Thank you for using the Plan2Code workflow! ║
|
||||
║ Thank you for using the Smarsh2Code workflow! ║
|
||||
║ ║
|
||||
╚═══════════════════════════════════════════════════════════════════╝
|
||||
```
|
||||
@@ -352,7 +352,7 @@ Options:
|
||||
║ Return to implementation before finalizing. ║
|
||||
║ ║
|
||||
║ 1. Start a NEW conversation ║
|
||||
║ 2. Use command: /plan2code-3--implement ║
|
||||
║ 2. Use command: /smarsh2code-3--implement ║
|
||||
║ 3. Provide path: specs/<feature-name>/overview.md ║
|
||||
║ ║
|
||||
║ The command will auto-detect the next Phase to implement. ║
|
||||
|
||||
Reference in new issue
Block a user