mirror of https://github.com/garrytan/gstack.git
preamble: split 'checkpoint' routing rule into context-save + context-restore
scripts/resolvers/preamble.ts:238 is the source of truth for the routing rules that gstack writes into users' CLAUDE.md on first skill run, AND gets baked into every generated SKILL.md. A single 'invoke checkpoint' line points at a skill that no longer exists. Replace with two lines: - Save progress, save state, save my work → invoke context-save - Resume, where was I, pick up where I left off → invoke context-restore Tier comment at :750 also updated. All SKILL.md files regenerated via bun run gen:skill-docs.
This commit is contained in:
parent
dd01897b4d
commit
b9ebc1f3f2
3
SKILL.md
3
SKILL.md
|
|
@ -210,7 +210,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -219,7 +219,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -212,7 +212,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -211,7 +211,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -211,7 +211,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -213,7 +213,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -215,7 +215,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -215,7 +215,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -216,7 +216,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -216,7 +216,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -218,7 +218,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -216,7 +216,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -213,7 +213,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -216,7 +216,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -213,7 +213,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -213,7 +213,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -230,7 +230,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -210,7 +210,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -213,7 +213,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -221,7 +221,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -210,7 +210,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -211,7 +211,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -217,7 +217,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -214,7 +214,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -218,7 +218,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -216,7 +216,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -212,7 +212,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -218,7 +218,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -211,7 +211,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -215,7 +215,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -235,7 +235,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
\`\`\`
|
||||
|
||||
|
|
@ -747,7 +748,7 @@ available]. [Health score if available]." Keep it to 2-3 sentences.`;
|
|||
//
|
||||
// Skills by tier:
|
||||
// T1: browse, setup-cookies, benchmark
|
||||
// T2: investigate, cso, retro, doc-release, setup-deploy, canary, checkpoint, health
|
||||
// T2: investigate, cso, retro, doc-release, setup-deploy, canary, context-save, context-restore, health
|
||||
// T3: autoplan, codex, design-consult, office-hours, ceo/design/eng-review
|
||||
// T4: ship, review, qa, qa-only, design-review, land-deploy
|
||||
export function generatePreamble(ctx: TemplateContext): string {
|
||||
|
|
|
|||
|
|
@ -208,7 +208,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -214,7 +214,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -216,7 +216,8 @@ Key routing rules:
|
|||
- Design system, brand → invoke design-consultation
|
||||
- Visual audit, design polish → invoke design-review
|
||||
- Architecture review → invoke plan-eng-review
|
||||
- Save progress, checkpoint, resume → invoke checkpoint
|
||||
- Save progress, save state, save my work → invoke context-save
|
||||
- Resume, where was I, pick up where I left off → invoke context-restore
|
||||
- Code quality, health check → invoke health
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue