[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M732AV7B3E1QD3ZK85EJDZEA":3,"skill-same:01M732AV7B3E1QD3ZK85EJDZEA":47},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M732AV7B3E1QD3ZK85EJDZEA","issue-ingest",null,"Full execution protocol for MODE: ISSUE_INGEST -- GitHub issue intake, localization, spec generation, and transition to planning or tracing.","djimit\u002Fdjimitflo","djimit","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F19958832?v=4","01M7327CH792DZPFZPYAEFPRXT","Dutch Dim","01M7327CHWPSXT9AWE4MPWCX9Q",2,"MIT","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fissue-ingest\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: issue-ingest\ndescription: >\n  Full execution protocol for MODE: ISSUE_INGEST -- GitHub issue intake, localization, spec generation, and transition to planning or tracing.\n---\n\n# Issue Ingest 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: ISSUE_INGEST\nActivates when: user invokes `\u002Fswarm issue \u003Curl>`; OR architect receives `[MODE: ISSUE_INGEST issue=\"\u003Curl>\"]` signal.\n\nPurpose: ingest a GitHub issue, localize root cause, and produce a resolution spec. The issue URL points to a GitHub issue that describes a bug, feature request, or task to be resolved.\n\nFlags parsed from signal:\n- `plan=true` → after spec generation, transition to MODE: PLAN (create implementation plan)\n- `trace=true` → after plan, delegate to swarm-implement skill for full fix-and-PR workflow (implies plan=true)\n- `noRepro=true` → skip reproduction verification step\n\n#### Phase 1: INTAKE\n1. Fetch the issue body using the GitHub CLI (`gh issue view \u003CN> --repo \u003Cowner>\u002F\u003Crepo> --json title,body,labels,assignees,comments`) or web fetch.\n2. Parse the issue into a normalized **Intake Note** with four required fields:\n   - **Observed behavior**: what the issue reports\n   - **Expected behavior**: what should happen instead\n   - **Reproduction steps**: how to trigger the issue (may be absent; flag with `[NEEDS REPRO]` if missing)\n   - **Environment**: platform, version, configuration context\n3. If any required field is missing and cannot be inferred from context, flag as `[NEEDS REPRO]`.\n4. If `--no-repro` flag is set, skip reproduction verification and proceed with available information.\n5. Exit when the Intake Note is complete or all missing fields are flagged.\n\n#### Phase 2: LOCALIZATION\n1. Delegate to `the active swarm's explorer agent` to scan the codebase for code areas related to the issue's observed behavior.\n2. Build 2–5 candidate hypotheses for root cause, each with:\n   - **Location**: file(s) and function(s) most likely responsible\n   - **Confidence**: composite score (stack-trace match 0.4, recency 0.25, call-graph proximity 0.2, test-failure correlation 0.15)\n   - **Falsifiability**: a specific test or observation that would disprove this hypothesis\n3. Validate top-3 hypotheses in parallel using targeted `the active swarm's sme agent` consultations.\n4. Prune to a single root cause hypothesis with supporting evidence.\n5. Exit when a root cause is identified with ≥70% confidence, or when all hypotheses are exhausted (report ambiguity).\n\n#### Phase 3: SPEC GENERATION\n0. Include a **Root Cause** section derived from Phase 2 localization results: concise statement of the identified root cause, location, and confidence score. Include a **Fix Strategy** section at product\u002Fbehavior level (what the fix must accomplish, not how to implement it).\n1. Generate `.swarm\u002Fspec.md` using the same SPEC CONTENT RULES as MODE: SPECIFY:\n   - WHAT users need and WHY — never HOW to implement\n   - FR-### \u002F SC-### numbering, Given\u002FWhen\u002FThen scenarios\n   - No technology stack, APIs, or code structure\n     - `[NEEDS CLARIFICATION]` markers only for items that survive the clarification funnel: inventory all material uncertainties without numeric cap → classify each (self_resolved\u002Fcritic_resolved\u002Fresearch_needed\u002Fuser_decision\u002Fdeferred_nonblocking) — **Overconfidence guard:** if the default is not directly supported by user request, spec, or recorded context, classify as `user_decision` rather than `self_resolved` → consult critic_sounding_board — critic responds per SoundingBoardVerdict: UNNECESSARY→DROP, RESOLVE→RESOLVE, REPHRASE→REPHRASE, APPROVED→ASK_USER — **always-surface protection:** always-surface categories must not receive UNNECESSARY\u002FDROP; override to APPROVED\u002FASK_USER → record resolved items as assumptions → surface only survivors as markers with decision packet format (grouped by category, recommended defaults, blocking vs optional markers)\n     - **Important:** If research is ongoing, monitor the timeout configured in `.swarm\u002Fconfig.json` under `research_needed_timeout_ms` (default: 300000ms \u002F 5 minutes). If research does not complete before the timeout expires, automatically reclassify the item to `user_decision` with a note that research was incomplete, then surface it to the user. This prevents the clarification funnel from stalling while waiting for external research.\n 2. Cross-reference the spec against the issue's expected behavior to ensure alignment.\n3. If the issue is a bug: spec must describe the correct behavior, not the broken behavior.\n4. If the issue is a feature: spec must describe the user-facing outcome, not the implementation.\n5. QA GATE SELECTION: Ask user which QA gates to enable (same dialogue as MODE: SPECIFY). Write to `.swarm\u002Fcontext.md` under `## Pending QA Gate Selection`.\n\n#### Phase 4: TRANSITION\nBased on flags:\n- No flags → report spec summary and suggest `PLAN` or `CLARIFY-SPEC`\n- `plan=true` → transition to MODE: PLAN using the generated spec\n- `trace=true` → transition to MODE: PLAN, then delegate to swarm-implement skill for full fix workflow\n\nRULES:\n- One question per message in INTAKE dialogue (max 6 questions)\n- Hypotheses must be falsifiable — no unfalsifiable hypotheses\n- Spec must be independently testable — each FR must have a verification path\n- The issue URL is already sanitized by the issue command — do not re-sanitize\n","# Issue Ingest 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: ISSUE_INGEST\nActivates when: user invokes `\u002Fswarm issue \u003Curl>`; OR architect receives `[MODE: ISSUE_INGEST issue=\"\u003Curl>\"]` signal.\n\nPurpose: ingest a GitHub issue, localize root cause, and produce a resolution spec. The issue URL points to a GitHub issue that describes a bug, feature request, or task to be resolved.\n\nFlags parsed from signal:\n- `plan=true` → after spec generation, transition to MODE: PLAN (create implementation plan)\n- `trace=true` → after plan, delegate to swarm-implement skill for full fix-and-PR workflow (implies plan=true)\n- `noRepro=true` → skip reproduction verification step\n\n#### Phase 1: INTAKE\n1. Fetch the issue body using the GitHub CLI (`gh issue view \u003CN> --repo \u003Cowner>\u002F\u003Crepo> --json title,body,labels,assignees,comments`) or web fetch.\n2. Parse the issue into a normalized **Intake Note** with four required fields:\n   - **Observed behavior**: what the issue reports\n   - **Expected behavior**: what should happen instead\n   - **Reproduction steps**: how to trigger the issue (may be absent; flag with `[NEEDS REPRO]` if missing)\n   - **Environment**: platform, version, configuration context\n3. If any required field is missing and cannot be inferred from context, flag as `[NEEDS REPRO]`.\n4. If `--no-repro` flag is set, skip reproduction verification and proceed with available information.\n5. Exit when the Intake Note is complete or all missing fields are flagged.\n\n#### Phase 2: LOCALIZATION\n1. Delegate to `the active swarm's explorer agent` to scan the codebase for code areas related to the issue's observed behavior.\n2. Build 2–5 candidate hypotheses for root cause, each with:\n   - **Location**: file(s) and function(s) most likely responsible\n   - **Confidence**: composite score (stack-trace match 0.4, recency 0.25, call-graph proximity 0.2, test-failure correlation 0.15)\n   - **Falsifiability**: a specific test or observation that would disprove this hypothesis\n3. Validate top-3 hypotheses in parallel using targeted `the active swarm's sme agent` consultations.\n4. Prune to a single root cause hypothesis with supporting evidence.\n5. Exit when a root cause is identified with ≥70% confidence, or when all hypotheses are exhausted (report ambiguity).\n\n#### Phase 3: SPEC GENERATION\n0. Include a **Root Cause** section derived from Phase 2 localization results: concise statement of the identified root cause, location, and confidence score. Include a **Fix Strategy** section at product\u002Fbehavior level (what the fix must accomplish, not how to implement it).\n1. Generate `.swarm\u002Fspec.md` using the same SPEC CONTENT RULES as MODE: SPECIFY:\n   - WHAT users need and WHY — never HOW to implement\n   - FR-### \u002F SC-### numbering, Given\u002FWhen\u002FThen scenarios\n   - No technology stack, APIs, or code structure\n     - `[NEEDS CLARIFICATION]` markers only for items that survive the clarification funnel: inventory all material uncertainties without numeric cap → classify each (self_resolved\u002Fcritic_resolved\u002Fresearch_needed\u002Fuser_decision\u002Fdeferred_nonblocking) — **Overconfidence guard:** if the default is not directly supported by user request, spec, or recorded context, classify as `user_decision` rather than `self_resolved` → consult critic_sounding_board — critic responds per SoundingBoardVerdict: UNNECESSARY→DROP, RESOLVE→RESOLVE, REPHRASE→REPHRASE, APPROVED→ASK_USER — **always-surface protection:** always-surface categories must not receive UNNECESSARY\u002FDROP; override to APPROVED\u002FASK_USER → record resolved items as assumptions → surface only survivors as markers with decision packet format (grouped by category, recommended defaults, blocking vs optional markers)\n     - **Important:** If research is ongoing, monitor the timeout configured in `.swarm\u002Fconfig.json` under `research_needed_timeout_ms` (default: 300000ms \u002F 5 minutes). If research does not complete before the timeout expires, automatically reclassify the item to `user_decision` with a note that research was incomplete, then surface it to the user. This prevents the clarification funnel from stalling while waiting for external research.\n 2. Cross-reference the spec against the issue's expected behavior to ensure alignment.\n3. If the issue is a bug: spec must describe the correct behavior, not the broken behavior.\n4. If the issue is a feature: spec must describe the user-facing outcome, not the implementation.\n5. QA GATE SELECTION: Ask user which QA gates to enable (same dialogue as MODE: SPECIFY). Write to `.swarm\u002Fcontext.md` under `## Pending QA Gate Selection`.\n\n#### Phase 4: TRANSITION\nBased on flags:\n- No flags → report spec summary and suggest `PLAN` or `CLARIFY-SPEC`\n- `plan=true` → transition to MODE: PLAN using the generated spec\n- `trace=true` → transition to MODE: PLAN, then delegate to swarm-implement skill for full fix workflow\n\nRULES:\n- One question per message in INTAKE dialogue (max 6 questions)\n- Hypotheses must be falsifiable — no unfalsifiable hypotheses\n- Spec must be independently testable — each FR must have a verification path\n- The issue URL is already sanitized by the issue command — do not re-sanitize\n",{"name":5,"description":7},"main","1667541871a3a917f9e544e5584ef06a544a119d",".opencode\u002Fskills\u002Fissue-ingest",0,"https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo","https:\u002F\u002Fgithub.com\u002Fdjimit","https:\u002F\u002Fdjimit.nl\u002F","About me\r\n\r\nI’m Dennis a strategic IT advisor specializing in cloud, cybersecurity, privacy, AI, and enterprise architecture. ","2026-11-15 04:42:36",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add djimit\u002Fdjimitflo --skill issue-ingest",{"tool":39,"command":40},"bunx","bunx skills add djimit\u002Fdjimitflo --skill issue-ingest",{"tool":42,"command":43},"pnpm","pnpm dlx skills add djimit\u002Fdjimitflo --skill issue-ingest","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fissue-ingest\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M732DRW7MHQP9VTJ5JSBMWC3","provider-step-usage-v1-0-0","Sum measured OpenCode step_finish token totals with replay deduplication and fail-closed validation.","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002Fskills\u002Fprovider-step-usage-v1-0-0\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M732DKXHWZ1P99ZDNA4PX7BV","writing-tests","Guidelines for writing, organizing, and maintaining tests in the opencode-swarm repository. Covers framework rules (bun:test), mock isolation, CI pipeline structure, file placement, and anti-patterns that break cross-platform CI. Load this skill before writing or modifying any test file.","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fwriting-tests\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M732DCEG1R9S45A68T5WR2T7","worktree-retry-cleanup","Protocol for cleaning parallel-coder worktree lanes before retry. Triggered before re-dispatching any task that already has a lane (completed, denied, cancelled, or failed).","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fworktree-retry-cleanup\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M732D8KYWE5RHJ1AA76F70K7","swarm","Cross-agent swarm-mode behavior model — a higher-rigor workflow using parallel investigation, independent reviewer validation, and critic challenge, plus the mandatory implementation closeout gate. Runtime adapters (.claude, .agents) add execution-specific notes and command wiring.","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fswarm\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M732D232XCMYP3XYKEAQC3YT","swarm-pr-subscribe","Monitor a pull request after creation and act autonomously on pushed PR activity. Use when subscribing to a PR after opening it, when asked to watch, babysit, or autofix a PR until merge, or when a \u003Cpr-activity> wake message or [pr-monitor:...] advisory arrives for a subscribed PR. Owns event triage (fix \u002F ask \u002F skip), bounded-retry escalation, and terminal-state cleanup.","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fswarm-pr-subscribe\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"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},"01M732CVKJ4QEN83DQ30EYG75A","swarm-pr-review","Run a graph-guided, tool-augmented Swarm PR review using context packing, parallel exploration, triggered plugin micro-lanes, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive tolerance and high recall.","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fswarm-pr-review\u002FSKILL.md",[],[]]