[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79BHSQHRQX41SBXMABZKXDH":3,"skill-same:01M79BHSQHRQX41SBXMABZKXDH":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M79BHSQHRQX41SBXMABZKXDH","orchestration-patterns",null,"Agentic orchestration patterns for long-running tasks. Implements evidence-based delivery and Simon Willison's agent loop. Use when managing multi-step implementation work, coordinating subagents, orchestrating PR workflows, or running sessions that need checkpoints and escalation. Do NOT use for single-step or trivial tasks.","sahil-kaushik1\u002FAuditing-Workflow","sahil-kaushik1","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F143880923?v=4","01M79BEEK3947RQYD3WC00K9W3","Sahil Kaushik","01M79BEEKVHPFPTNBDB0GFXBHE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Forchestration-patterns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: orchestration-patterns\ndescription: >\n  Agentic orchestration patterns for long-running tasks. Implements\n  evidence-based delivery and Simon Willison's agent loop. Use when managing\n  multi-step implementation work, coordinating subagents, orchestrating PR\n  workflows, or running sessions that need checkpoints and escalation.\n  Do NOT use for single-step or trivial tasks.\n---\n\n# Orchestration Patterns Skill\n\n> **TEMPLATE**: This skill uses `{{PLACEHOLDER}}` tokens. Replace with your project values before use.\n\n## Purpose\n\nCodify evidence-based delivery and iterative agent loop for orchestrating complex, long-running tasks. These patterns ensure verifiable progress and intelligent escalation.\n\n## When This Skill Applies\n\n- Orchestrating multi-step implementation tasks\n- Managing work across multiple subagents\n- Running long-running sessions that need checkpoints\n- Preparing PRs for merge (mandatory QAS gate)\n- Coordinating team handoffs\n\n## Simon Willison's Agent Loop\n\n**Core Philosophy**: \"Iterate until success or blocked, then escalate.\"\n\n```text\n1. GOAL DEFINITION\n   - Clear acceptance criteria (from BSA\u002Fticket)\n\n2. PATTERN DISCOVERY\n   - Search codebase, docs, previous sessions\n   - Use: pattern-discovery skill (auto-invoked)\n\n3. ITERATIVE EXECUTION LOOP:\n   +---------------------------------------------+\n   |  Implement approach                         |\n   |       |                                     |\n   |  Run validation ({{CI_VALIDATE_COMMAND}})   |\n   |       |                                     |\n   |  If PASS -> proceed to evidence             |\n   |  If FAIL -> analyze error, adjust, repeat   |\n   |  If BLOCKED -> escalate to TDM with context |\n   +---------------------------------------------+\n\n4. EVIDENCE ATTACHMENT\n   - Attach proof to ticket system (see templates below)\n\n5. QAS GATE (MANDATORY before merge)\n   - Invoke QAS subagent for independent review\n```\n\n## Evidence-Based Delivery\n\n**Core Principle**: \"All work requires verifiable evidence - no 'trust me, it works'\"\n\n### Evidence Types\n\n| Type           | What It Proves             | Example                       |\n| -------------- | -------------------------- | ----------------------------- |\n| Test Results   | Code works as expected     | `{{CI_VALIDATE_COMMAND}}` output |\n| Screenshots    | UI changes are correct     | Before\u002Fafter comparison       |\n| Command Output | Operations completed       | Build logs, migration logs    |\n| QAS Report     | Independent verification   | QA validation markdown        |\n| Session ID     | Full audit trail available | Agent session reference       |\n\n### Phase Evidence Requirements\n\n| Phase       | Evidence Required              | Template               |\n| ----------- | ------------------------------ | ---------------------- |\n| **Dev**     | Test results, command output   | Dev Evidence Template  |\n| **Staging** | UAT validation or N\u002FA + reason | Staging Template       |\n| **Done**    | QAS report, merge confirmation | Done Evidence Template |\n\n## QAS Pre-Merge Gate\n\n**MANDATORY**: Before merging any PR, invoke QAS for independent review.\n\n### Why QAS Gate Matters\n\n1. **Separation of Concerns**: QAS validates but does not write product code\n2. **Independent Verification**: Catches what implementer missed\n3. **Bias Prevention**: Fresh eyes on commit messages, patterns\n4. **Evidence in Tickets**: QAS posts final evidence and verdict to ticket system\n\n### QAS Invocation Pattern\n\n```text\nPrompt: \"Review PR #XXX for {{TICKET_PREFIX}}-YYY. Validate:\n  - Commit message format (ticket in subject line)\n  - Code patterns (RLS, naming, structure)\n  - CI status (all checks passing)\n  - Evidence attachments in ticket system\n  Generate validation report to docs\u002Fagent-outputs\u002Fqa-validations\u002F\"\n```\n\n### QAS Output Location\n\nAll QAS reports go to: `docs\u002Fagent-outputs\u002Fqa-validations\u002F{{TICKET_PREFIX}}-{number}-qa-validation.md`\n\n## Escalation Patterns\n\n### When to Escalate\n\n| Condition              | Escalate To | Include                     |\n| ---------------------- | ----------- | --------------------------- |\n| Blocked > 4 hours      | TDM         | Full context, attempts made |\n| Architecture ambiguity | ARCHitect   | Options, trade-offs         |\n| Cross-team dependency  | TDM         | Which teams, what's blocked |\n| Security concern       | SecEng      | Specific risk, evidence     |\n\n### Escalation Template\n\n```markdown\n**Escalation Required**\n\n**Blocked On**: [specific blocker]\n**Attempts Made**:\n1. [what you tried]\n2. [what you tried]\n\n**Context**:\n- Ticket: {{TICKET_PREFIX}}-XXX\n- Time blocked: X hours\n\n**Request**: [specific ask - what do you need?]\n```\n\n## Long-Running Task Checkpoints\n\nFor tasks spanning multiple tool calls or sessions:\n\n### Checkpoint Pattern\n\n```text\nEvery 10-15 tool calls:\n1. Update todo list with current progress\n2. If nearing context limit, summarize state\n3. If handoff needed, provide continuation context\n\nAt session boundaries:\n1. Summarize completed work\n2. List remaining items\n3. Document any blockers\n4. Attach evidence to ticket\n```\n\n### State Preservation\n\n```markdown\n**Session Checkpoint**\n\n**Completed**:\n- [x] Task 1\n- [x] Task 2\n\n**In Progress**:\n- [ ] Task 3 (at step X)\n\n**Remaining**:\n- [ ] Task 4\n- [ ] Task 5\n\n**Blockers**: [if any]\n\n**Next Action**: [specific next step]\n```\n\n## Orchestration Workflow Example\n\n```text\n1. Start work on {{TICKET_PREFIX}}-XXX\n   - Syncs to dev, creates branch, sets context\n\n2. Pattern discovery (skill auto-invokes)\n   - Finds relevant patterns before implementation\n\n3. Implementation with agent loop\n   - Implement\n   - Validate ({{CI_VALIDATE_COMMAND}})\n   - Adjust if needed\n   - Repeat until passing\n\n4. Pre-PR validation\n   - Full validation checklist\n\n5. Create PR with evidence\n\n6. QAS GATE (MANDATORY)\n   - Invoke QAS subagent for review\n   - Fix any blocking issues\n   - Commit QAS report\n\n7. Merge (only after QAS approval)\n\n8. End work\n   - Updates ticket, cleans up\n```\n\n## Anti-Patterns to Avoid\n\n| Anti-Pattern             | Why It's Bad                | Do This Instead               |\n| ------------------------ | --------------------------- | ----------------------------- |\n| Skip QAS review          | Miss commit message issues  | Always invoke QAS pre-merge   |\n| No evidence in tickets   | No audit trail              | Attach evidence every phase   |\n| Ignore CI failures       | Broken code reaches dev     | Fix in agent loop, don't skip |\n| Force-push without check | May lose teammate's changes | Use --force-with-lease        |\n| Continue when blocked    | Waste time, no progress     | Escalate with context         |\n\n## Authoritative References\n\n- **AGENTS.md**: Agent roles and orchestration model\n- **Agent Workflow SOP**: `docs\u002Fsop\u002FAGENT_WORKFLOW_SOP.md`\n- **CONTRIBUTING.md**: Workflow requirements\n- **linear-sop skill**: Evidence templates for ticket system\n","# Orchestration Patterns Skill\n\n> **TEMPLATE**: This skill uses `{{PLACEHOLDER}}` tokens. Replace with your project values before use.\n\n## Purpose\n\nCodify evidence-based delivery and iterative agent loop for orchestrating complex, long-running tasks. These patterns ensure verifiable progress and intelligent escalation.\n\n## When This Skill Applies\n\n- Orchestrating multi-step implementation tasks\n- Managing work across multiple subagents\n- Running long-running sessions that need checkpoints\n- Preparing PRs for merge (mandatory QAS gate)\n- Coordinating team handoffs\n\n## Simon Willison's Agent Loop\n\n**Core Philosophy**: \"Iterate until success or blocked, then escalate.\"\n\n```text\n1. GOAL DEFINITION\n   - Clear acceptance criteria (from BSA\u002Fticket)\n\n2. PATTERN DISCOVERY\n   - Search codebase, docs, previous sessions\n   - Use: pattern-discovery skill (auto-invoked)\n\n3. ITERATIVE EXECUTION LOOP:\n   +---------------------------------------------+\n   |  Implement approach                         |\n   |       |                                     |\n   |  Run validation ({{CI_VALIDATE_COMMAND}})   |\n   |       |                                     |\n   |  If PASS -> proceed to evidence             |\n   |  If FAIL -> analyze error, adjust, repeat   |\n   |  If BLOCKED -> escalate to TDM with context |\n   +---------------------------------------------+\n\n4. EVIDENCE ATTACHMENT\n   - Attach proof to ticket system (see templates below)\n\n5. QAS GATE (MANDATORY before merge)\n   - Invoke QAS subagent for independent review\n```\n\n## Evidence-Based Delivery\n\n**Core Principle**: \"All work requires verifiable evidence - no 'trust me, it works'\"\n\n### Evidence Types\n\n| Type           | What It Proves             | Example                       |\n| -------------- | -------------------------- | ----------------------------- |\n| Test Results   | Code works as expected     | `{{CI_VALIDATE_COMMAND}}` output |\n| Screenshots    | UI changes are correct     | Before\u002Fafter comparison       |\n| Command Output | Operations completed       | Build logs, migration logs    |\n| QAS Report     | Independent verification   | QA validation markdown        |\n| Session ID     | Full audit trail available | Agent session reference       |\n\n### Phase Evidence Requirements\n\n| Phase       | Evidence Required              | Template               |\n| ----------- | ------------------------------ | ---------------------- |\n| **Dev**     | Test results, command output   | Dev Evidence Template  |\n| **Staging** | UAT validation or N\u002FA + reason | Staging Template       |\n| **Done**    | QAS report, merge confirmation | Done Evidence Template |\n\n## QAS Pre-Merge Gate\n\n**MANDATORY**: Before merging any PR, invoke QAS for independent review.\n\n### Why QAS Gate Matters\n\n1. **Separation of Concerns**: QAS validates but does not write product code\n2. **Independent Verification**: Catches what implementer missed\n3. **Bias Prevention**: Fresh eyes on commit messages, patterns\n4. **Evidence in Tickets**: QAS posts final evidence and verdict to ticket system\n\n### QAS Invocation Pattern\n\n```text\nPrompt: \"Review PR #XXX for {{TICKET_PREFIX}}-YYY. Validate:\n  - Commit message format (ticket in subject line)\n  - Code patterns (RLS, naming, structure)\n  - CI status (all checks passing)\n  - Evidence attachments in ticket system\n  Generate validation report to docs\u002Fagent-outputs\u002Fqa-validations\u002F\"\n```\n\n### QAS Output Location\n\nAll QAS reports go to: `docs\u002Fagent-outputs\u002Fqa-validations\u002F{{TICKET_PREFIX}}-{number}-qa-validation.md`\n\n## Escalation Patterns\n\n### When to Escalate\n\n| Condition              | Escalate To | Include                     |\n| ---------------------- | ----------- | --------------------------- |\n| Blocked > 4 hours      | TDM         | Full context, attempts made |\n| Architecture ambiguity | ARCHitect   | Options, trade-offs         |\n| Cross-team dependency  | TDM         | Which teams, what's blocked |\n| Security concern       | SecEng      | Specific risk, evidence     |\n\n### Escalation Template\n\n```markdown\n**Escalation Required**\n\n**Blocked On**: [specific blocker]\n**Attempts Made**:\n1. [what you tried]\n2. [what you tried]\n\n**Context**:\n- Ticket: {{TICKET_PREFIX}}-XXX\n- Time blocked: X hours\n\n**Request**: [specific ask - what do you need?]\n```\n\n## Long-Running Task Checkpoints\n\nFor tasks spanning multiple tool calls or sessions:\n\n### Checkpoint Pattern\n\n```text\nEvery 10-15 tool calls:\n1. Update todo list with current progress\n2. If nearing context limit, summarize state\n3. If handoff needed, provide continuation context\n\nAt session boundaries:\n1. Summarize completed work\n2. List remaining items\n3. Document any blockers\n4. Attach evidence to ticket\n```\n\n### State Preservation\n\n```markdown\n**Session Checkpoint**\n\n**Completed**:\n- [x] Task 1\n- [x] Task 2\n\n**In Progress**:\n- [ ] Task 3 (at step X)\n\n**Remaining**:\n- [ ] Task 4\n- [ ] Task 5\n\n**Blockers**: [if any]\n\n**Next Action**: [specific next step]\n```\n\n## Orchestration Workflow Example\n\n```text\n1. Start work on {{TICKET_PREFIX}}-XXX\n   - Syncs to dev, creates branch, sets context\n\n2. Pattern discovery (skill auto-invokes)\n   - Finds relevant patterns before implementation\n\n3. Implementation with agent loop\n   - Implement\n   - Validate ({{CI_VALIDATE_COMMAND}})\n   - Adjust if needed\n   - Repeat until passing\n\n4. Pre-PR validation\n   - Full validation checklist\n\n5. Create PR with evidence\n\n6. QAS GATE (MANDATORY)\n   - Invoke QAS subagent for review\n   - Fix any blocking issues\n   - Commit QAS report\n\n7. Merge (only after QAS approval)\n\n8. End work\n   - Updates ticket, cleans up\n```\n\n## Anti-Patterns to Avoid\n\n| Anti-Pattern             | Why It's Bad                | Do This Instead               |\n| ------------------------ | --------------------------- | ----------------------------- |\n| Skip QAS review          | Miss commit message issues  | Always invoke QAS pre-merge   |\n| No evidence in tickets   | No audit trail              | Attach evidence every phase   |\n| Ignore CI failures       | Broken code reaches dev     | Fix in agent loop, don't skip |\n| Force-push without check | May lose teammate's changes | Use --force-with-lease        |\n| Continue when blocked    | Waste time, no progress     | Escalate with context         |\n\n## Authoritative References\n\n- **AGENTS.md**: Agent roles and orchestration model\n- **Agent Workflow SOP**: `docs\u002Fsop\u002FAGENT_WORKFLOW_SOP.md`\n- **CONTRIBUTING.md**: Workflow requirements\n- **linear-sop skill**: Evidence templates for ticket system\n",{"name":5,"description":7},"main","39a25d63191d67efe43cdce5b7507069e2307f0f",".agents\u002Fskills\u002Forchestration-patterns","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1","https:\u002F\u002Fdrive.google.com\u002Ffile\u002Fd\u002F1Te4TcrpgcN4j8DsYqVdjPl4QXVbs5XXo\u002Fview?usp=drive_link","Web3 security researcher \u002F developer","2026-10-18 15:17:21",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add sahil-kaushik1\u002FAuditing-Workflow --skill orchestration-patterns",{"tool":38,"command":39},"bunx","bunx skills add sahil-kaushik1\u002FAuditing-Workflow --skill orchestration-patterns",{"tool":41,"command":42},"pnpm","pnpm dlx skills add sahil-kaushik1\u002FAuditing-Workflow --skill orchestration-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Forchestration-patterns\u002FSKILL.md",true,[46,51,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":14,"sourceHtmlUrl":50},"assets\u002F.gitkeep","ASSET","资产文件","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Forchestration-patterns\u002Fassets\u002F.gitkeep",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":14,"sourceHtmlUrl":55},"references\u002F.gitkeep","REFERENCE","参考文档","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Forchestration-patterns\u002Freferences\u002F.gitkeep",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":14,"sourceHtmlUrl":60},"scripts\u002F.gitkeep","SCRIPT","脚本","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Forchestration-patterns\u002Fscripts\u002F.gitkeep",[62,68,74,81,88,95],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M79BSEAG0SS9CC2EN1S51K2X","stripe-patterns","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsync\u002Frendertrust\u002F.claude\u002Fskills\u002Fstripe-patterns\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79BSBAZXQBWCPKYJP38A35B","payment-patterns","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsync\u002Fkeryk-ai\u002F.claude\u002Fskills\u002Fpayment-patterns\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M79BS8PKZXFGBNQBS2GHNXZW","testing-patterns","Testing patterns for Jest and Playwright. Use when writing tests, setting up test fixtures, or validating RLS enforcement. Routes to existing test conventions.","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.gemini\u002Fskills\u002Ftesting-patterns\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M79BS3PR92A4QNEJAFNDKB2G","team-coordination","Agent Teams orchestration patterns for multi-agent SAFe workflows. Use when spawning agent teams, coordinating teammates, enforcing quality gates via task dependencies, or orchestrating the 11-agent SAFe pipeline. Covers team creation, messaging, shared task lists, and SAFe gate enforcement. Do NOT use for single-agent or simple subagent workflows.","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.gemini\u002Fskills\u002Fteam-coordination\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M79BRZ422QD8D5QHQMXAVPWZ","task-compilation","Compile broad audit goals into structured proof obligations with 9 mandatory fields. Used after decomposition by the Threat Modeler agent.","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.gemini\u002Fskills\u002Ftask-compilation\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M79BRV2MK2AJZBNSE2BETP28","storage-layout-analysis","Proxy patterns, slot collisions, upgrade safety. Used during decomposition to identify storage-related vulnerabilities in upgradeable contracts.","https:\u002F\u002Fgithub.com\u002Fsahil-kaushik1\u002FAuditing-Workflow\u002Fblob\u002Fmain\u002F.gemini\u002Fskills\u002Fstorage-layout-analysis\u002FSKILL.md",[],[]]