mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-20 19:29:56 +08:00
feat: add triggers to all 38 skill templates
Multi-word, skill-specific trigger keywords for GBrain's RESOLVER.md router. Each skill gets 3-6 triggers derived from its "Use when asked to..." description text. Avoids single generic words that would collide across skills (e.g., "debug this" not "debug"). These are distinct from voice-triggers (speech-to-text aliases) and serve GBrain's checkResolvable() validation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,11 @@ allowed-tools:
|
|||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
|
triggers:
|
||||||
|
- browse this page
|
||||||
|
- take a screenshot
|
||||||
|
- navigate to url
|
||||||
|
- inspect the page
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,10 @@ voice-triggers:
|
|||||||
- "auto plan"
|
- "auto plan"
|
||||||
- "automatic review"
|
- "automatic review"
|
||||||
benefits-from: [office-hours]
|
benefits-from: [office-hours]
|
||||||
|
triggers:
|
||||||
|
- run all reviews
|
||||||
|
- automatic review pipeline
|
||||||
|
- auto plan review
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ description: |
|
|||||||
voice-triggers:
|
voice-triggers:
|
||||||
- "speed test"
|
- "speed test"
|
||||||
- "check performance"
|
- "check performance"
|
||||||
|
triggers:
|
||||||
|
- performance benchmark
|
||||||
|
- check page speed
|
||||||
|
- detect performance regression
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -9,6 +9,10 @@ description: |
|
|||||||
~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a
|
~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a
|
||||||
user flow, or file a bug with evidence. Use when asked to "open in browser", "test the
|
user flow, or file a bug with evidence. Use when asked to "open in browser", "test the
|
||||||
site", "take a screenshot", or "dogfood this". (gstack)
|
site", "take a screenshot", or "dogfood this". (gstack)
|
||||||
|
triggers:
|
||||||
|
- browse a page
|
||||||
|
- headless browser
|
||||||
|
- take page screenshot
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ allowed-tools:
|
|||||||
- Write
|
- Write
|
||||||
- Glob
|
- Glob
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
|
triggers:
|
||||||
|
- monitor after deploy
|
||||||
|
- canary check
|
||||||
|
- watch for errors post-deploy
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ description: |
|
|||||||
User can override each warning. Use when touching prod, debugging live systems,
|
User can override each warning. Use when touching prod, debugging live systems,
|
||||||
or working in a shared environment. Use when asked to "be careful", "safety mode",
|
or working in a shared environment. Use when asked to "be careful", "safety mode",
|
||||||
"prod mode", or "careful mode". (gstack)
|
"prod mode", or "careful mode". (gstack)
|
||||||
|
triggers:
|
||||||
|
- be careful
|
||||||
|
- warn before destructive
|
||||||
|
- safety mode
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -17,6 +17,10 @@ allowed-tools:
|
|||||||
- Glob
|
- Glob
|
||||||
- Grep
|
- Grep
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
|
triggers:
|
||||||
|
- save progress
|
||||||
|
- checkpoint this
|
||||||
|
- resume where i left off
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ voice-triggers:
|
|||||||
- "code x"
|
- "code x"
|
||||||
- "code ex"
|
- "code ex"
|
||||||
- "get another opinion"
|
- "get another opinion"
|
||||||
|
triggers:
|
||||||
|
- codex review
|
||||||
|
- second opinion
|
||||||
|
- outside voice challenge
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -3,6 +3,10 @@ name: gstack-contrib-add-host
|
|||||||
description: |
|
description: |
|
||||||
Contributor-only skill: create a new host config for gstack's multi-host system.
|
Contributor-only skill: create a new host config for gstack's multi-host system.
|
||||||
NOT installed for end users. Only usable from the gstack source repo.
|
NOT installed for end users. Only usable from the gstack source repo.
|
||||||
|
triggers:
|
||||||
|
- add new host
|
||||||
|
- create host config
|
||||||
|
- contribute new agent host
|
||||||
---
|
---
|
||||||
|
|
||||||
# /gstack-contrib-add-host — Add a New Host
|
# /gstack-contrib-add-host — Add a New Host
|
||||||
|
|||||||
@@ -25,10 +25,16 @@ allowed-tools:
|
|||||||
- Agent
|
- Agent
|
||||||
- WebSearch
|
- WebSearch
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
|
triggers:
|
||||||
|
- security audit
|
||||||
|
- check for vulnerabilities
|
||||||
|
- owasp review
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|
||||||
|
{{GBRAIN_CONTEXT_LOAD}}
|
||||||
|
|
||||||
# /cso — Chief Security Officer Audit (v2)
|
# /cso — Chief Security Officer Audit (v2)
|
||||||
|
|
||||||
You are a **Chief Security Officer** who has led incident response on real breaches and testified before boards about security posture. You think like an attacker but report like a defender. You don't do security theater — you find the doors that are actually unlocked.
|
You are a **Chief Security Officer** who has led incident response on real breaches and testified before boards about security posture. You think like an attacker but report like a defender. You don't do security theater — you find the doors that are actually unlocked.
|
||||||
@@ -609,6 +615,8 @@ If `.gstack/` is not in `.gitignore`, note it in findings — security reports s
|
|||||||
|
|
||||||
{{LEARNINGS_LOG}}
|
{{LEARNINGS_LOG}}
|
||||||
|
|
||||||
|
{{GBRAIN_SAVE_RESULTS}}
|
||||||
|
|
||||||
## Important Rules
|
## Important Rules
|
||||||
|
|
||||||
- **Think like an attacker, report like a defender.** Show the exploit path, then the fix.
|
- **Think like an attacker, report like a defender.** Show the exploit path, then the fix.
|
||||||
|
|||||||
@@ -19,6 +19,10 @@ allowed-tools:
|
|||||||
- Grep
|
- Grep
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- WebSearch
|
- WebSearch
|
||||||
|
triggers:
|
||||||
|
- design system
|
||||||
|
- create a brand
|
||||||
|
- design from scratch
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
@@ -79,6 +83,8 @@ If `DESIGN_NOT_AVAILABLE`: Phase 5 falls back to the HTML preview page (still go
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{{GBRAIN_CONTEXT_LOAD}}
|
||||||
|
|
||||||
{{LEARNINGS_SEARCH}}
|
{{LEARNINGS_SEARCH}}
|
||||||
|
|
||||||
## Phase 1: Product Context
|
## Phase 1: Product Context
|
||||||
@@ -423,6 +429,8 @@ After shipping DESIGN.md, if the session produced screen-level mockups or page l
|
|||||||
|
|
||||||
{{LEARNINGS_LOG}}
|
{{LEARNINGS_LOG}}
|
||||||
|
|
||||||
|
{{GBRAIN_SAVE_RESULTS}}
|
||||||
|
|
||||||
## Important Rules
|
## Important Rules
|
||||||
|
|
||||||
1. **Propose, don't present menus.** You are a consultant, not a form. Make opinionated recommendations based on the product context, then let the user adjust.
|
1. **Propose, don't present menus.** You are a consultant, not a form. Make opinionated recommendations based on the product context, then let the user adjust.
|
||||||
|
|||||||
@@ -15,6 +15,10 @@ voice-triggers:
|
|||||||
- "build the design"
|
- "build the design"
|
||||||
- "code the mockup"
|
- "code the mockup"
|
||||||
- "make it real"
|
- "make it real"
|
||||||
|
triggers:
|
||||||
|
- build the design
|
||||||
|
- code the mockup
|
||||||
|
- make design real
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -19,10 +19,16 @@ allowed-tools:
|
|||||||
- Grep
|
- Grep
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- WebSearch
|
- WebSearch
|
||||||
|
triggers:
|
||||||
|
- visual design audit
|
||||||
|
- design qa
|
||||||
|
- fix design issues
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|
||||||
|
{{GBRAIN_CONTEXT_LOAD}}
|
||||||
|
|
||||||
# /design-review: Design Audit → Fix → Verify
|
# /design-review: Design Audit → Fix → Verify
|
||||||
|
|
||||||
You are a senior product designer AND a frontend engineer. Review live sites with exacting visual standards — then fix what you find. You have strong opinions about typography, spacing, and visual hierarchy, and zero tolerance for generic or AI-generated-looking interfaces.
|
You are a senior product designer AND a frontend engineer. Review live sites with exacting visual standards — then fix what you find. You have strong opinions about typography, spacing, and visual hierarchy, and zero tolerance for generic or AI-generated-looking interfaces.
|
||||||
@@ -293,6 +299,8 @@ If the repo has a `TODOS.md`:
|
|||||||
|
|
||||||
{{LEARNINGS_LOG}}
|
{{LEARNINGS_LOG}}
|
||||||
|
|
||||||
|
{{GBRAIN_SAVE_RESULTS}}
|
||||||
|
|
||||||
## Additional Rules (design-review specific)
|
## Additional Rules (design-review specific)
|
||||||
|
|
||||||
11. **Clean working tree required.** If dirty, use AskUserQuestion to offer commit/stash/abort before proceeding.
|
11. **Clean working tree required.** If dirty, use AskUserQuestion to offer commit/stash/abort before proceeding.
|
||||||
|
|||||||
@@ -9,6 +9,10 @@ description: |
|
|||||||
"visual brainstorm", or "I don't like how this looks".
|
"visual brainstorm", or "I don't like how this looks".
|
||||||
Proactively suggest when the user describes a UI feature but hasn't seen
|
Proactively suggest when the user describes a UI feature but hasn't seen
|
||||||
what it could look like. (gstack)
|
what it could look like. (gstack)
|
||||||
|
triggers:
|
||||||
|
- explore design variants
|
||||||
|
- show me design options
|
||||||
|
- visual design brainstorm
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -15,6 +15,10 @@ voice-triggers:
|
|||||||
- "test the developer experience"
|
- "test the developer experience"
|
||||||
- "try the onboarding"
|
- "try the onboarding"
|
||||||
- "developer experience test"
|
- "developer experience test"
|
||||||
|
triggers:
|
||||||
|
- live dx audit
|
||||||
|
- test developer experience
|
||||||
|
- measure onboarding time
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Read
|
- Read
|
||||||
- Edit
|
- Edit
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ allowed-tools:
|
|||||||
- Grep
|
- Grep
|
||||||
- Glob
|
- Glob
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
|
triggers:
|
||||||
|
- update docs after ship
|
||||||
|
- document what changed
|
||||||
|
- post-ship docs
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ description: |
|
|||||||
"fixing" unrelated code, or when you want to scope changes to one module.
|
"fixing" unrelated code, or when you want to scope changes to one module.
|
||||||
Use when asked to "freeze", "restrict edits", "only edit this folder",
|
Use when asked to "freeze", "restrict edits", "only edit this folder",
|
||||||
or "lock down edits". (gstack)
|
or "lock down edits". (gstack)
|
||||||
|
triggers:
|
||||||
|
- freeze edits to directory
|
||||||
|
- lock editing scope
|
||||||
|
- restrict file changes
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -10,6 +10,10 @@ voice-triggers:
|
|||||||
- "update the tools"
|
- "update the tools"
|
||||||
- "gee stack upgrade"
|
- "gee stack upgrade"
|
||||||
- "g stack upgrade"
|
- "g stack upgrade"
|
||||||
|
triggers:
|
||||||
|
- upgrade gstack
|
||||||
|
- update gstack version
|
||||||
|
- get latest gstack
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ description: |
|
|||||||
/freeze (blocks edits outside a specified directory). Use for maximum safety
|
/freeze (blocks edits outside a specified directory). Use for maximum safety
|
||||||
when touching prod or debugging live systems. Use when asked to "guard mode",
|
when touching prod or debugging live systems. Use when asked to "guard mode",
|
||||||
"full safety", "lock it down", or "maximum safety". (gstack)
|
"full safety", "lock it down", or "maximum safety". (gstack)
|
||||||
|
triggers:
|
||||||
|
- full safety mode
|
||||||
|
- guard against mistakes
|
||||||
|
- maximum safety
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -8,6 +8,10 @@ description: |
|
|||||||
0-10 score, and tracks trends over time. Use when: "health check",
|
0-10 score, and tracks trends over time. Use when: "health check",
|
||||||
"code quality", "how healthy is the codebase", "run all checks",
|
"code quality", "how healthy is the codebase", "run all checks",
|
||||||
"quality score". (gstack)
|
"quality score". (gstack)
|
||||||
|
triggers:
|
||||||
|
- code health check
|
||||||
|
- quality dashboard
|
||||||
|
- how healthy is codebase
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -19,6 +19,12 @@ allowed-tools:
|
|||||||
- Glob
|
- Glob
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- WebSearch
|
- WebSearch
|
||||||
|
triggers:
|
||||||
|
- debug this
|
||||||
|
- fix this bug
|
||||||
|
- why is this broken
|
||||||
|
- root cause analysis
|
||||||
|
- investigate this error
|
||||||
hooks:
|
hooks:
|
||||||
PreToolUse:
|
PreToolUse:
|
||||||
- matcher: "Edit"
|
- matcher: "Edit"
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ allowed-tools:
|
|||||||
- Glob
|
- Glob
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
sensitive: true
|
sensitive: true
|
||||||
|
triggers:
|
||||||
|
- merge and deploy
|
||||||
|
- land the pr
|
||||||
|
- ship to production
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -8,6 +8,10 @@ description: |
|
|||||||
"show learnings", "prune stale learnings", or "export learnings".
|
"show learnings", "prune stale learnings", or "export learnings".
|
||||||
Proactively suggest when the user asks about past patterns or wonders
|
Proactively suggest when the user asks about past patterns or wonders
|
||||||
"didn't we fix this before?"
|
"didn't we fix this before?"
|
||||||
|
triggers:
|
||||||
|
- show learnings
|
||||||
|
- what have we learned
|
||||||
|
- manage project learnings
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -23,6 +23,11 @@ allowed-tools:
|
|||||||
- Edit
|
- Edit
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- WebSearch
|
- WebSearch
|
||||||
|
triggers:
|
||||||
|
- brainstorm this
|
||||||
|
- is this worth building
|
||||||
|
- help me think through
|
||||||
|
- office hours
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -9,6 +9,10 @@ description: |
|
|||||||
"open chrome", "real browser", "launch chrome", "side panel", or "control my browser".
|
"open chrome", "real browser", "launch chrome", "side panel", or "control my browser".
|
||||||
voice-triggers:
|
voice-triggers:
|
||||||
- "show me the browser"
|
- "show me the browser"
|
||||||
|
triggers:
|
||||||
|
- open gstack browser
|
||||||
|
- launch chromium
|
||||||
|
- show me the browser
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -13,6 +13,10 @@ voice-triggers:
|
|||||||
- "connect agent"
|
- "connect agent"
|
||||||
- "share my browser"
|
- "share my browser"
|
||||||
- "remote browser access"
|
- "remote browser access"
|
||||||
|
triggers:
|
||||||
|
- pair with agent
|
||||||
|
- connect remote agent
|
||||||
|
- share my browser
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -19,6 +19,11 @@ allowed-tools:
|
|||||||
- Bash
|
- Bash
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- WebSearch
|
- WebSearch
|
||||||
|
triggers:
|
||||||
|
- think bigger
|
||||||
|
- expand scope
|
||||||
|
- strategy review
|
||||||
|
- rethink this plan
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -17,6 +17,10 @@ allowed-tools:
|
|||||||
- Glob
|
- Glob
|
||||||
- Bash
|
- Bash
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
|
triggers:
|
||||||
|
- design plan review
|
||||||
|
- review ux plan
|
||||||
|
- check design decisions
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -27,6 +27,10 @@ allowed-tools:
|
|||||||
- Bash
|
- Bash
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- WebSearch
|
- WebSearch
|
||||||
|
triggers:
|
||||||
|
- developer experience review
|
||||||
|
- dx plan review
|
||||||
|
- check developer onboarding
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -22,10 +22,16 @@ allowed-tools:
|
|||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- Bash
|
- Bash
|
||||||
- WebSearch
|
- WebSearch
|
||||||
|
triggers:
|
||||||
|
- review architecture
|
||||||
|
- eng plan review
|
||||||
|
- check the implementation plan
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|
||||||
|
{{GBRAIN_CONTEXT_LOAD}}
|
||||||
|
|
||||||
# Plan Review Mode
|
# Plan Review Mode
|
||||||
|
|
||||||
Review this plan thoroughly before making any code changes. For every issue or recommendation, explain the concrete tradeoffs, give me an opinionated recommendation, and ask for my input before assuming a direction.
|
Review this plan thoroughly before making any code changes. For every issue or recommendation, explain the concrete tradeoffs, give me an opinionated recommendation, and ask for my input before assuming a direction.
|
||||||
@@ -295,6 +301,8 @@ Substitute values from the Completion Summary:
|
|||||||
|
|
||||||
{{LEARNINGS_LOG}}
|
{{LEARNINGS_LOG}}
|
||||||
|
|
||||||
|
{{GBRAIN_SAVE_RESULTS}}
|
||||||
|
|
||||||
## Next Steps — Review Chaining
|
## Next Steps — Review Chaining
|
||||||
|
|
||||||
After displaying the Review Readiness Dashboard, check if additional reviews would be valuable. Read the dashboard output to see which reviews have already been run and whether they are stale.
|
After displaying the Review Readiness Dashboard, check if additional reviews would be valuable. Read the dashboard output to see which reviews have already been run and whether they are stale.
|
||||||
|
|||||||
@@ -17,6 +17,10 @@ allowed-tools:
|
|||||||
- Write
|
- Write
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- WebSearch
|
- WebSearch
|
||||||
|
triggers:
|
||||||
|
- qa report only
|
||||||
|
- just report bugs
|
||||||
|
- test but dont fix
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -24,12 +24,18 @@ allowed-tools:
|
|||||||
- Grep
|
- Grep
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- WebSearch
|
- WebSearch
|
||||||
|
triggers:
|
||||||
|
- qa test this
|
||||||
|
- find bugs on site
|
||||||
|
- test the site
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|
||||||
{{BASE_BRANCH_DETECT}}
|
{{BASE_BRANCH_DETECT}}
|
||||||
|
|
||||||
|
{{GBRAIN_CONTEXT_LOAD}}
|
||||||
|
|
||||||
# /qa: Test → Fix → Verify
|
# /qa: Test → Fix → Verify
|
||||||
|
|
||||||
You are a QA engineer AND a bug-fix engineer. Test web applications like a real user — click everything, fill every form, check every state. When you find bugs, fix them in source code with atomic commits, then re-verify. Produce a structured report with before/after evidence.
|
You are a QA engineer AND a bug-fix engineer. Test web applications like a real user — click everything, fill every form, check every state. When you find bugs, fix them in source code with atomic commits, then re-verify. Produce a structured report with before/after evidence.
|
||||||
@@ -323,6 +329,8 @@ If the repo has a `TODOS.md`:
|
|||||||
|
|
||||||
{{LEARNINGS_LOG}}
|
{{LEARNINGS_LOG}}
|
||||||
|
|
||||||
|
{{GBRAIN_SAVE_RESULTS}}
|
||||||
|
|
||||||
## Additional Rules (qa-specific)
|
## Additional Rules (qa-specific)
|
||||||
|
|
||||||
11. **Clean working tree required.** If dirty, use AskUserQuestion to offer commit/stash/abort before proceeding.
|
11. **Clean working tree required.** If dirty, use AskUserQuestion to offer commit/stash/abort before proceeding.
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ allowed-tools:
|
|||||||
- Write
|
- Write
|
||||||
- Glob
|
- Glob
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
|
triggers:
|
||||||
|
- weekly retro
|
||||||
|
- what did we ship
|
||||||
|
- engineering retrospective
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -17,6 +17,11 @@ allowed-tools:
|
|||||||
- Agent
|
- Agent
|
||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- WebSearch
|
- WebSearch
|
||||||
|
triggers:
|
||||||
|
- review this pr
|
||||||
|
- code review
|
||||||
|
- check my diff
|
||||||
|
- pre-landing review
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ description: |
|
|||||||
Opens an interactive picker UI where you select which cookie domains to import.
|
Opens an interactive picker UI where you select which cookie domains to import.
|
||||||
Use before QA testing authenticated pages. Use when asked to "import cookies",
|
Use before QA testing authenticated pages. Use when asked to "import cookies",
|
||||||
"login to the site", or "authenticate the browser". (gstack)
|
"login to the site", or "authenticate the browser". (gstack)
|
||||||
|
triggers:
|
||||||
|
- import browser cookies
|
||||||
|
- login to test site
|
||||||
|
- setup authenticated session
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -9,6 +9,10 @@ description: |
|
|||||||
the configuration to CLAUDE.md so all future deploys are automatic.
|
the configuration to CLAUDE.md so all future deploys are automatic.
|
||||||
Use when: "setup deploy", "configure deployment", "set up land-and-deploy",
|
Use when: "setup deploy", "configure deployment", "set up land-and-deploy",
|
||||||
"how do I deploy with gstack", "add deploy config".
|
"how do I deploy with gstack", "add deploy config".
|
||||||
|
triggers:
|
||||||
|
- configure deploy
|
||||||
|
- setup deployment
|
||||||
|
- set deploy platform
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
@@ -19,12 +19,19 @@ allowed-tools:
|
|||||||
- AskUserQuestion
|
- AskUserQuestion
|
||||||
- WebSearch
|
- WebSearch
|
||||||
sensitive: true
|
sensitive: true
|
||||||
|
triggers:
|
||||||
|
- ship it
|
||||||
|
- create a pr
|
||||||
|
- push to main
|
||||||
|
- deploy this
|
||||||
---
|
---
|
||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|
||||||
{{BASE_BRANCH_DETECT}}
|
{{BASE_BRANCH_DETECT}}
|
||||||
|
|
||||||
|
{{GBRAIN_CONTEXT_LOAD}}
|
||||||
|
|
||||||
# Ship: Fully Automated Ship Workflow
|
# Ship: Fully Automated Ship Workflow
|
||||||
|
|
||||||
You are running the `/ship` workflow. This is a **non-interactive, fully automated** workflow. Do NOT ask for confirmation at any step. The user said `/ship` which means DO IT. Run straight through and output the PR URL at the end.
|
You are running the `/ship` workflow. This is a **non-interactive, fully automated** workflow. Do NOT ask for confirmation at any step. The user said `/ship` which means DO IT. Run straight through and output the PR URL at the end.
|
||||||
@@ -345,6 +352,8 @@ For each classified comment:
|
|||||||
|
|
||||||
{{LEARNINGS_LOG}}
|
{{LEARNINGS_LOG}}
|
||||||
|
|
||||||
|
{{GBRAIN_SAVE_RESULTS}}
|
||||||
|
|
||||||
## Step 4: Version bump (auto-decide)
|
## Step 4: Version bump (auto-decide)
|
||||||
|
|
||||||
**Idempotency check:** Before bumping, compare VERSION against the base branch.
|
**Idempotency check:** Before bumping, compare VERSION against the base branch.
|
||||||
|
|||||||
@@ -6,6 +6,10 @@ description: |
|
|||||||
again. Use when you want to widen edit scope without ending the session.
|
again. Use when you want to widen edit scope without ending the session.
|
||||||
Use when asked to "unfreeze", "unlock edits", "remove freeze", or
|
Use when asked to "unfreeze", "unlock edits", "remove freeze", or
|
||||||
"allow all edits". (gstack)
|
"allow all edits". (gstack)
|
||||||
|
triggers:
|
||||||
|
- unfreeze edits
|
||||||
|
- unlock all directories
|
||||||
|
- remove edit restrictions
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
|
|||||||
Reference in New Issue
Block a user