agent-coordination
Agent assignment matrix, blocker escalation, and TDM coordination patterns. Use when assigning work to specialists, managing…
Spec creation with pattern references, acceptance criteria, and demo scripts. Use when creating implementation specs, defining acceptance criteria, or breaking down user stories.
Claude Code
$ npx -y skills add bybren-llc/safe-agentic-workflow --skill spec-creation --agent claude-code
Codex
$ npx skills add bybren-llc/safe-agentic-workflow --skill spec-creation -a codex -y
Cursor
$ npx skills add bybren-llc/safe-agentic-workflow --skill spec-creation -a cursor -y
Gemini CLI
$ npx skills add bybren-llc/safe-agentic-workflow --skill spec-creation -a gemini-cli -y
GitHub Copilot
$ npx skills add bybren-llc/safe-agentic-workflow --skill spec-creation -a github-copilot -y
OpenCode
$ npx skills add bybren-llc/safe-agentic-workflow --skill spec-creation -a opencode -y
Windsurf
$ npx skills add bybren-llc/safe-agentic-workflow --skill spec-creation -a windsurf -y
name: spec-creation description: Spec creation with pattern references, acceptance criteria, and demo scripts. Use when creating implementation specs, defining acceptance criteria, or breaking down user stories. context: fork argument-hint: "[ticket-id]" allowed-tools: Read, Write, Grep, Glob
Guide spec creation with clear acceptance criteria, pattern references for execution agents, and testable success validation commands.
Invoke this skill when:
# FORBIDDEN: Missing acceptance criteria ## Implementation Just do the thing. <!-- No testable outcomes defined --> # FORBIDDEN: No pattern reference ## Technical Approach Build it however you want. <!-- Execution agents need pattern pointers --> # FORBIDDEN: No success validation ## Done Criteria Looks good to reviewer. <!-- No command to verify completion -->
# CORRECT: Clear acceptance criteria
## Acceptance Criteria
- [ ] User can click button → modal appears
- [ ] Modal shows validation errors for empty fields
- [ ] Successful submission shows success toast
# CORRECT: Pattern reference for execution
## Pattern Reference
- **UI Pattern**: `patterns_library/ui/modal-form.md`
- **API Pattern**: `patterns_library/api/crud-endpoint.md`
- **RLS Pattern**: `patterns_library/security/rls-user-data.md`
# CORRECT: Success validation command
## Success Validation
```bash
# Run these commands to verify implementation
yarn test:unit --grep "ModalForm"
curl -X POST http://localhost:3000/api/endpoint -d '{"test": true}'
`````
## Spec Template (MANDATORY)
Every spec must include:
````markdown
# SPEC-{{TICKET_PREFIX}}-{number}: {Feature Name}
## Summary
{One paragraph describing the feature}
## User Story
As a [user type], I want [goal] so that [benefit].
## Acceptance Criteria
- [ ] {Testable criterion 1}
- [ ] {Testable criterion 2}
- [ ] {Testable criterion 3}
## Pattern References
- **UI**: `patterns_library/ui/{pattern}.md`
- **API**: `patterns_library/api/{pattern}.md`
- **Database**: `patterns_library/database/{pattern}.md`
- **Security**: Follow RLS patterns in `docs/database/RLS_IMPLEMENTATION_GUIDE.md`
## Success Validation Command
```bash
# Run this to verify the feature works
{validation command}
`````
## Demo Script
1. Navigate to {page}
2. Click {button}
3. Observe {expected behavior}
4. Verify {success indicator}
## Logical Commits
1. `feat(scope): implement data model [{{TICKET_PREFIX}}-{number}]`
2. `feat(scope): add API endpoint [{{TICKET_PREFIX}}-{number}]`
3. `feat(scope): create UI component [{{TICKET_PREFIX}}-{number}]`
4. `test(scope): add unit tests [{{TICKET_PREFIX}}-{number}]`
````
## Acceptance Criteria Patterns
### User Action Criteria
```markdown
- [ ] User can {action} → {result}
- [ ] When user {triggers}, system {responds}
- [ ] User receives {feedback} after {action}- [ ] Data persists after {action}
- [ ] User can only see their own {data type}
- [ ] {field} validates {constraint}- [ ] Invalid input shows {error message}
- [ ] Network failure shows retry option
- [ ] Unauthorized access returns 401Before writing any spec:
# Find existing patterns
ls patterns_library/
# Search for similar implementations
grep -r "similar feature" app/ lib/
# Check existing specs for format
ls specs/
cat specs/SPEC-{{TICKET_PREFIX}}-XXX-example.mdBefore submitting spec:
| Output Type | Location | | ------------ | ----------------------------------------------------- | | Impl specs | `specs/SPEC-{{TICKET_PREFIX}}-{number}-{description}.md` | | Requirements | `docs/agent-outputs/requirements/{{TICKET_PREFIX}}-{number}-*.md` | | ADRs | `docs/adr/ADR-{number}-{description}.md` |
After spec approval:
**BSA Spec Evidence**
**Spec**: specs/SPEC-{{TICKET_PREFIX}}-{number}-{description}.md
**Status**: Approved by [reviewer]
**Deliverables**:
- [x] Acceptance criteria defined
- [x] Pattern references added
- [x] Demo script created
- [x] Ready for implementationSAW — SAFe Agentic Workflow AI Agent Harness for Multi-Agent Team Workflows Built on SAFe methodology (Scaled Agile Framework), adapted for AI agent teams (Now With AI-DLC!) Works for any team with repeatable processes: Software, Marketing, Research, Legal, Operations.
Agent assignment matrix, blocker escalation, and TDM coordination patterns. Use when assigning work to specialists, managing…
API route implementation patterns with RLS, Zod validation, and error handling. Use when creating API routes, implementing…
Documentation templates for ADRs, runbooks, and architecture docs. Use when creating architectural decision records, operational…
Deployment workflows, pre-deploy validation, and smoke testing patterns. Use when deploying to staging or production, running…
Frontend patterns for Next.js App Router, Clerk auth, shadcn/Radix UI, and PostHog analytics. Use when building UI components,…
Advanced git operations including rebase, bisect, cherry-pick, and conflict resolution. Use when rebasing branches, debugging…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.