[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75617423EB6ZE70EPTR3VVF":3,"skill-same:01M75617423EB6ZE70EPTR3VVF":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M75617423EB6ZE70EPTR3VVF","critic-gate",null,"Full execution protocol for MODE: CRITIC-GATE -- plan critic review, revision loops, and hard stop before execution.","AlexanderNarbaev\u002Fagi","AlexanderNarbaev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F33544956?v=4","01M755ZKB1JJ26ZBNZSDJ4C0TV","01M755ZKBX072HZMHVQBWK7MK7",1,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fcritic-gate\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: critic-gate\ndescription: >\n  Full execution protocol for MODE: CRITIC-GATE -- plan critic review, revision loops, and hard stop before execution.\n---\n\n# Critic Gate Protocol\n\nThis protocol is loaded on demand by the architect stub in src\u002Fagents\u002Farchitect.ts. The architect prompt keeps only activation, action, and hard safety constraints; the full execution details live here.\n\n### MODE: CRITIC-GATE\nDelegate plan to the active swarm's critic agent for review BEFORE any implementation begins.\n- Send the full plan.md content and codebase context summary\n- **APPROVED** → Proceed to MODE: EXECUTE\n- **NEEDS_REVISION** → Revise the plan based on critic feedback, then resubmit (max 2 cycles)\n- **REJECTED** → Inform the user of fundamental issues and ask for guidance before proceeding\n\n⛔ HARD STOP — Print this checklist before advancing to MODE: EXECUTE:\n  [ ] the active swarm's critic agent returned a verdict\n  [ ] APPROVED → proceed to MODE: EXECUTE\n  [ ] NEEDS_REVISION → revised and resubmitted (attempt N of max 2)\n  [ ] REJECTED (any cycle) → informed user. STOP.\n\nYou MUST NOT proceed to MODE: EXECUTE without printing this checklist with filled values.\n\nCRITIC-GATE TRIGGER: Run ONCE when you first write the complete .swarm\u002Fplan.md.\nDo NOT re-run CRITIC-GATE before every project phase.\nIf resuming a project with an existing approved plan, CRITIC-GATE is already satisfied.\n\n6j. SPEC-GATE (Execute BEFORE any save_plan call):\n- The save_plan tool will REJECT if .swarm\u002Fspec.md does not exist (enforced at the tool level via SWARM_SKIP_SPEC_GATE env var bypass).\n- Before calling save_plan, verify spec.md is present using lint_spec.\n- If spec.md is absent: do NOT call save_plan. Use \u002Fswarm specify to create a spec first, or inform the user.\n- This rule is satisfied by the save_plan tool's own spec gate — it exists as a reminder that planning requires a spec.\n\n6k. SPEC-STALENESS GUARD:\n- If _specStale or .swarm\u002Fspec-staleness.json exists, the Architect MUST stop\n  and SURFACE THE DRIFT TO THE USER. The user (not the Architect) then runs\n  either:\n  - \u002Fswarm clarify to update the spec and align it with the plan, OR\n  - \u002Fswarm acknowledge-spec-drift to acknowledge the drift and suppress further warnings\n- The Architect MUST NOT run \u002Fswarm acknowledge-spec-drift itself — not via\n  the swarm_command tool, not via the chat fallback, and NOT by shelling out\n  to `bunx opencode-swarm run acknowledge-spec-drift` (or any equivalent\n  `npx`\u002F`node`\u002F`bun` invocation). Any such self-invocation is a\n  control-bypass and will be refused by the runtime guardrails.\n- Do NOT proceed with implementation until the user resolves the staleness.\n- When re-saving a plan in response to spec drift, save_plan REQUIRES that ANY task\n  present in the prior plan but absent from the new args.phases be enumerated\n  in removed_task_ids with a removal_reason. save_plan will reject the call\n  otherwise (PLAN_TASK_REMOVAL_NOT_ACKNOWLEDGED). Tasks not yet finished\n  (status: pending, in_progress, blocked) MUST NOT be removed without explicit\n  user confirmation — surface the list to the user and ask before populating\n  removed_task_ids.\n- While .swarm\u002Fspec-staleness.json exists, the runtime STRUCTURALLY BLOCKS the\n  following tools (SPEC_DRIFT_BLOCKED_TOOLS): save_plan, update_task_status,\n  phase_complete, lean_turbo_run_phase, lean_turbo_acquire_locks. If a call\n  returns SPEC_DRIFT_BLOCK, do NOT retry; surface the drift to the user and\n  WAIT for them to run \u002Fswarm clarify or \u002Fswarm acknowledge-spec-drift.\n","# Critic Gate Protocol\n\nThis protocol is loaded on demand by the architect stub in src\u002Fagents\u002Farchitect.ts. The architect prompt keeps only activation, action, and hard safety constraints; the full execution details live here.\n\n### MODE: CRITIC-GATE\nDelegate plan to the active swarm's critic agent for review BEFORE any implementation begins.\n- Send the full plan.md content and codebase context summary\n- **APPROVED** → Proceed to MODE: EXECUTE\n- **NEEDS_REVISION** → Revise the plan based on critic feedback, then resubmit (max 2 cycles)\n- **REJECTED** → Inform the user of fundamental issues and ask for guidance before proceeding\n\n⛔ HARD STOP — Print this checklist before advancing to MODE: EXECUTE:\n  [ ] the active swarm's critic agent returned a verdict\n  [ ] APPROVED → proceed to MODE: EXECUTE\n  [ ] NEEDS_REVISION → revised and resubmitted (attempt N of max 2)\n  [ ] REJECTED (any cycle) → informed user. STOP.\n\nYou MUST NOT proceed to MODE: EXECUTE without printing this checklist with filled values.\n\nCRITIC-GATE TRIGGER: Run ONCE when you first write the complete .swarm\u002Fplan.md.\nDo NOT re-run CRITIC-GATE before every project phase.\nIf resuming a project with an existing approved plan, CRITIC-GATE is already satisfied.\n\n6j. SPEC-GATE (Execute BEFORE any save_plan call):\n- The save_plan tool will REJECT if .swarm\u002Fspec.md does not exist (enforced at the tool level via SWARM_SKIP_SPEC_GATE env var bypass).\n- Before calling save_plan, verify spec.md is present using lint_spec.\n- If spec.md is absent: do NOT call save_plan. Use \u002Fswarm specify to create a spec first, or inform the user.\n- This rule is satisfied by the save_plan tool's own spec gate — it exists as a reminder that planning requires a spec.\n\n6k. SPEC-STALENESS GUARD:\n- If _specStale or .swarm\u002Fspec-staleness.json exists, the Architect MUST stop\n  and SURFACE THE DRIFT TO THE USER. The user (not the Architect) then runs\n  either:\n  - \u002Fswarm clarify to update the spec and align it with the plan, OR\n  - \u002Fswarm acknowledge-spec-drift to acknowledge the drift and suppress further warnings\n- The Architect MUST NOT run \u002Fswarm acknowledge-spec-drift itself — not via\n  the swarm_command tool, not via the chat fallback, and NOT by shelling out\n  to `bunx opencode-swarm run acknowledge-spec-drift` (or any equivalent\n  `npx`\u002F`node`\u002F`bun` invocation). Any such self-invocation is a\n  control-bypass and will be refused by the runtime guardrails.\n- Do NOT proceed with implementation until the user resolves the staleness.\n- When re-saving a plan in response to spec drift, save_plan REQUIRES that ANY task\n  present in the prior plan but absent from the new args.phases be enumerated\n  in removed_task_ids with a removal_reason. save_plan will reject the call\n  otherwise (PLAN_TASK_REMOVAL_NOT_ACKNOWLEDGED). Tasks not yet finished\n  (status: pending, in_progress, blocked) MUST NOT be removed without explicit\n  user confirmation — surface the list to the user and ask before populating\n  removed_task_ids.\n- While .swarm\u002Fspec-staleness.json exists, the runtime STRUCTURALLY BLOCKS the\n  following tools (SPEC_DRIFT_BLOCKED_TOOLS): save_plan, update_task_status,\n  phase_complete, lean_turbo_run_phase, lean_turbo_acquire_locks. If a call\n  returns SPEC_DRIFT_BLOCK, do NOT retry; surface the drift to the user and\n  WAIT for them to run \u002Fswarm clarify or \u002Fswarm acknowledge-spec-drift.\n",{"name":5,"description":7},"main","7709dc9e5ebd3bd641124ad2a3f6bb053ac2dab6",".opencode\u002Fskills\u002Fcritic-gate",0,"https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev","2026-11-15 04:35:36",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add AlexanderNarbaev\u002Fagi --skill critic-gate",{"tool":36,"command":37},"bunx","bunx skills add AlexanderNarbaev\u002Fagi --skill critic-gate",{"tool":39,"command":40},"pnpm","pnpm dlx skills add AlexanderNarbaev\u002Fagi --skill critic-gate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fcritic-gate\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M76RZHYHMGE1WP9JBCMNA801","springboot-patterns","Spring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging. Use for Java Spring Boot backend work.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Fspringboot-patterns\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M76RZE6JNZH5HV7Q8JM7R0PN","search-first","Research-before-coding workflow. Search for existing tools, libraries, and patterns before writing custom code. Invokes the researcher agent.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Fsearch-first\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M76RZBV42EMQV77H7GMFY4AJ","scholar-evaluation","Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Fscholar-evaluation\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M76RZ97GC3XAY48H126C30PM","redis-patterns","Redis data structure patterns, caching strategies, distributed locks, rate limiting, pub\u002Fsub, and connection management for production applications.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Fredis-patterns\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M76RZ528FANTKX7Q9XR0CXM7","react-patterns","React 18\u002F19 patterns including hooks discipline, server\u002Fclient component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Freact-patterns\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M76RZ1244PZQRQV5HBQ4PVYQ","query-patterns","SQL patterns, relational database design, query optimization, transactions, analytics, and dialect-aware best practices.","https:\u002F\u002Fgithub.com\u002FAlexanderNarbaev\u002Fagi\u002Fblob\u002Fmain\u002F.veai\u002Fskills\u002Fquery-patterns\u002FSKILL.md",[],[]]