[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADC9CDZ96300C4N56JZWQE":3,"skill-same:01M7ADC9CDZ96300C4N56JZWQE":49},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7ADC9CDZ96300C4N56JZWQE","autonomous-gates",null,"Use when running long-horizon or multi-step tasks where quality must be verified before proceeding, when the user asks for \"autonomous mode\" or \"run unattended\", or when a task has explicit acceptance criteria that must pass before declaring done.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fautonomous-gates\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: autonomous-gates\ndescription: Use when running long-horizon or multi-step tasks where quality must be verified before proceeding, when the user asks for \"autonomous mode\" or \"run unattended\", or when a task has explicit acceptance criteria that must pass before declaring done.\ntriggers: [user, model]\n---\n\n# Autonomous Gates\n\n## When to Use\n\n- Task has explicit acceptance criteria (tests pass, build succeeds, lint clean)\n- User asks for autonomous or unattended execution\n- Multi-step task where each step's output feeds the next\n- Long-horizon work where drift or skipping steps is a risk\n- Before declaring a task \"done\" - the final gate\n\n## When NOT to Use\n\n- Single-step task with immediate feedback - just do it and report\n- Task has no verifiable criteria - ask the user what \"done\" means\n- Gate command doesn't exist yet - define it first, then use it\n\n## Source\n\nAdapted from PrimeAgent's autonomous mode (PrimeIntellect blog, 2026-08-05).\nPrimeAgent supports `--autonomous --autonomous-gate \"npm run check\"\n--autonomous-max-turns 20`. The gate runs before the session is allowed to\nfinish. A failed gate returns its bounded output to the agent for another\nattempt. PrimeAgent skips rerunning a failed gate when the workspace has not\nchanged since the last attempt.\n\n## Core Concept\n\nA **gate** is a command that must pass (exit 0) before the task can be\ndeclared complete. Gates are:\n- **Bounded** - output is truncated to avoid flooding context\n- **Idempotent** - running twice with no changes gives the same result\n- **Skippable on no-change** - if nothing changed since last failure, don't rerun\n- **Multi-level** - different gates for different stages of the task\n\n## Gate Types\n\n| Gate type | When | Example command | Failure action |\n|---|---|---|---|\n| Pre-task | Before starting work | `git status --porcelain` (confirm clean state) | Stop and ask user |\n| Step gate | After each major step | `npm run test -- --grep \"\u003Cstep>\"` | Retry step with failure output |\n| Integration gate | After combining steps | `npm run build` | Rollback to last green state |\n| Final gate | Before declaring done | `npm run check` (lint + typecheck + test) | Cannot declare done; continue working |\n| Security gate | Before any push | `python scripts\u002Fcheck-ai-signature.py` | Block push, fix signature |\n\n## Workflow\n\n### Step 1: Define gates at planning time\n\nWhen creating the todo list, add a gate to each task that has verifiable\ncriteria:\n\n```\ntodo: \"Implement auth module\"\ngate: \"npm run test -- --grep auth\"\n```\n\n### Step 2: Run gate after each step\n\nAfter completing a step, run its gate:\n\n```\nexec: npm run test -- --grep auth\n```\n\nIf exit code != 0:\n1. Read the output (bounded - first 50 lines usually suffice)\n2. Fix the issue in the inner loop\n3. Rerun the gate\n4. If the workspace hasn't changed since last failure and gate still fails,\n   stop and escalate - the gate may be wrong, not the code\n\n### Step 3: Run integration gate after combining steps\n\nAfter multiple steps are complete:\n\n```\nexec: npm run build && npm run test\n```\n\nIf this fails but individual step gates passed, the issue is in the\nintegration - trace the interaction between steps.\n\n### Step 4: Run final gate before declaring done\n\nThe final gate is the complete check suite:\n\n```\nexec: npm run check  # or: lint + typecheck + test + build\n```\n\n**No declaration of \"done\" without the final gate passing.** This is\nenforced by Rule 5 (No push without green) and Rule 10 (Don't declare\nwithout verifying).\n\n### Step 5: Bounded output\n\nIf a gate produces very long output, bound it:\n\n```\nexec: npm run check 2>&1 | head -100\n```\n\nDon't let gate output flood the context - that defeats the purpose.\n\n## Idempotency and No-Change Skip\n\nIf a gate fails, you fix something, and rerun:\n- If the fix changed relevant files → rerun the gate\n- If the fix was unrelated (e.g., docs change) → gate result is unchanged, skip rerun\n- If unsure → rerun (safer)\n\n## Multi-Level Example\n\nTask: \"Add OAuth2 login with Google\"\n\n```\nStep 1: Install passport-google-oauth20\n  Gate: npm ls passport-google-oauth20  # confirm installed\n\nStep 2: Implement Google strategy\n  Gate: npm run test -- --grep \"google strategy\"\n\nStep 3: Implement login route\n  Gate: npm run test -- --grep \"login route\"\n\nStep 4: Implement callback route\n  Gate: npm run test -- --grep \"callback route\"\n\nIntegration gate: npm run test -- --grep \"auth\"\nFinal gate: npm run check\nSecurity gate: python scripts\u002Fcheck-ai-signature.py\n```\n\n## Anti-Patterns\n\n- **Don't declare done without the final gate.** \"I think it works\" is not a gate result.\n- **Don't skip gates to save time.** A skipped gate is an unverified step.\n- **Don't use gates as the only verification.** Gates catch regressions; manual review catches design issues. Use both.\n- **Don't make gates too broad.** `npm test` as a step gate runs everything - use scoped gates (`--grep`).\n- **Don't ignore a failing gate.** A failing gate means the task is not done. Fix it or escalate.\n\n## Integration with Existing Skills\n\n- **`unlazy`:** for long-horizon tasks, write a `.devin\u002Fledgers\u002F\u003Ctask>.md` with gates before starting. `autonomous-gates` executes those gates.\n- **`review-cadence`:** decide how many planning and review checkpoints the task needs before building the gate list.\n- **`handoff`:** if work spans sessions, capture the current gate state before ending.\n- **`verification-before-completion` skill:** defines per-task VFs; gates execute them\n- **`check-push-green.py` hook:** already enforces the push gate at the hook level\n- **`adaptive-agenda-calendar-routine-engine`**: its >=32-cycle loop executes under this skill's gate types; each battery boundary is an integration gate and each block close is a final gate.\n\n## Integration with Existing Rules\n\n- **Rule 5 (No push without green):** the final gate IS the green check\n- **Rule 10 (Don't declare without verifying):** gates are the verification mechanism\n- **Rule 11 (Never fail from failures):** a failing gate is a signal to fix, not to stop\n\n## Evidence Summary\n\n| Claim | Source | Status |\n|---|---|---|\n| PrimeAgent `--autonomous-gate` runs before session finishes | PrimeAgent blog | Verified |\n| Failed gate returns bounded output to agent | PrimeAgent blog | Verified |\n| Skips rerunning failed gate when workspace unchanged | PrimeAgent blog | Verified |\n| `--autonomous-max-turns` bounds continuation | PrimeAgent blog | Verified |\n","# Autonomous Gates\n\n## When to Use\n\n- Task has explicit acceptance criteria (tests pass, build succeeds, lint clean)\n- User asks for autonomous or unattended execution\n- Multi-step task where each step's output feeds the next\n- Long-horizon work where drift or skipping steps is a risk\n- Before declaring a task \"done\" - the final gate\n\n## When NOT to Use\n\n- Single-step task with immediate feedback - just do it and report\n- Task has no verifiable criteria - ask the user what \"done\" means\n- Gate command doesn't exist yet - define it first, then use it\n\n## Source\n\nAdapted from PrimeAgent's autonomous mode (PrimeIntellect blog, 2026-08-05).\nPrimeAgent supports `--autonomous --autonomous-gate \"npm run check\"\n--autonomous-max-turns 20`. The gate runs before the session is allowed to\nfinish. A failed gate returns its bounded output to the agent for another\nattempt. PrimeAgent skips rerunning a failed gate when the workspace has not\nchanged since the last attempt.\n\n## Core Concept\n\nA **gate** is a command that must pass (exit 0) before the task can be\ndeclared complete. Gates are:\n- **Bounded** - output is truncated to avoid flooding context\n- **Idempotent** - running twice with no changes gives the same result\n- **Skippable on no-change** - if nothing changed since last failure, don't rerun\n- **Multi-level** - different gates for different stages of the task\n\n## Gate Types\n\n| Gate type | When | Example command | Failure action |\n|---|---|---|---|\n| Pre-task | Before starting work | `git status --porcelain` (confirm clean state) | Stop and ask user |\n| Step gate | After each major step | `npm run test -- --grep \"\u003Cstep>\"` | Retry step with failure output |\n| Integration gate | After combining steps | `npm run build` | Rollback to last green state |\n| Final gate | Before declaring done | `npm run check` (lint + typecheck + test) | Cannot declare done; continue working |\n| Security gate | Before any push | `python scripts\u002Fcheck-ai-signature.py` | Block push, fix signature |\n\n## Workflow\n\n### Step 1: Define gates at planning time\n\nWhen creating the todo list, add a gate to each task that has verifiable\ncriteria:\n\n```\ntodo: \"Implement auth module\"\ngate: \"npm run test -- --grep auth\"\n```\n\n### Step 2: Run gate after each step\n\nAfter completing a step, run its gate:\n\n```\nexec: npm run test -- --grep auth\n```\n\nIf exit code != 0:\n1. Read the output (bounded - first 50 lines usually suffice)\n2. Fix the issue in the inner loop\n3. Rerun the gate\n4. If the workspace hasn't changed since last failure and gate still fails,\n   stop and escalate - the gate may be wrong, not the code\n\n### Step 3: Run integration gate after combining steps\n\nAfter multiple steps are complete:\n\n```\nexec: npm run build && npm run test\n```\n\nIf this fails but individual step gates passed, the issue is in the\nintegration - trace the interaction between steps.\n\n### Step 4: Run final gate before declaring done\n\nThe final gate is the complete check suite:\n\n```\nexec: npm run check  # or: lint + typecheck + test + build\n```\n\n**No declaration of \"done\" without the final gate passing.** This is\nenforced by Rule 5 (No push without green) and Rule 10 (Don't declare\nwithout verifying).\n\n### Step 5: Bounded output\n\nIf a gate produces very long output, bound it:\n\n```\nexec: npm run check 2>&1 | head -100\n```\n\nDon't let gate output flood the context - that defeats the purpose.\n\n## Idempotency and No-Change Skip\n\nIf a gate fails, you fix something, and rerun:\n- If the fix changed relevant files → rerun the gate\n- If the fix was unrelated (e.g., docs change) → gate result is unchanged, skip rerun\n- If unsure → rerun (safer)\n\n## Multi-Level Example\n\nTask: \"Add OAuth2 login with Google\"\n\n```\nStep 1: Install passport-google-oauth20\n  Gate: npm ls passport-google-oauth20  # confirm installed\n\nStep 2: Implement Google strategy\n  Gate: npm run test -- --grep \"google strategy\"\n\nStep 3: Implement login route\n  Gate: npm run test -- --grep \"login route\"\n\nStep 4: Implement callback route\n  Gate: npm run test -- --grep \"callback route\"\n\nIntegration gate: npm run test -- --grep \"auth\"\nFinal gate: npm run check\nSecurity gate: python scripts\u002Fcheck-ai-signature.py\n```\n\n## Anti-Patterns\n\n- **Don't declare done without the final gate.** \"I think it works\" is not a gate result.\n- **Don't skip gates to save time.** A skipped gate is an unverified step.\n- **Don't use gates as the only verification.** Gates catch regressions; manual review catches design issues. Use both.\n- **Don't make gates too broad.** `npm test` as a step gate runs everything - use scoped gates (`--grep`).\n- **Don't ignore a failing gate.** A failing gate means the task is not done. Fix it or escalate.\n\n## Integration with Existing Skills\n\n- **`unlazy`:** for long-horizon tasks, write a `.devin\u002Fledgers\u002F\u003Ctask>.md` with gates before starting. `autonomous-gates` executes those gates.\n- **`review-cadence`:** decide how many planning and review checkpoints the task needs before building the gate list.\n- **`handoff`:** if work spans sessions, capture the current gate state before ending.\n- **`verification-before-completion` skill:** defines per-task VFs; gates execute them\n- **`check-push-green.py` hook:** already enforces the push gate at the hook level\n- **`adaptive-agenda-calendar-routine-engine`**: its >=32-cycle loop executes under this skill's gate types; each battery boundary is an integration gate and each block close is a final gate.\n\n## Integration with Existing Rules\n\n- **Rule 5 (No push without green):** the final gate IS the green check\n- **Rule 10 (Don't declare without verifying):** gates are the verification mechanism\n- **Rule 11 (Never fail from failures):** a failing gate is a signal to fix, not to stop\n\n## Evidence Summary\n\n| Claim | Source | Status |\n|---|---|---|\n| PrimeAgent `--autonomous-gate` runs before session finishes | PrimeAgent blog | Verified |\n| Failed gate returns bounded output to agent | PrimeAgent blog | Verified |\n| Skips rerunning failed gate when workspace unchanged | PrimeAgent blog | Verified |\n| `--autonomous-max-turns` bounds continuation | PrimeAgent blog | Verified |\n",{"name":5,"triggers":24,"description":7},[25,26],"user","model","main","0032dd465157e15d3ddd16afb75f4fe2dc1a356c","skills\u002Fautonomous-gates",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill autonomous-gates",{"tool":41,"command":42},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill autonomous-gates",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill autonomous-gates","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fautonomous-gates\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":86,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]