[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADW2F2S3SQFFMXFE1X1WJJ":3,"skill-same:01M7ADW2F2S3SQFFMXFE1X1WJJ":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"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":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7ADW2F2S3SQFFMXFE1X1WJJ","scan",null,"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\u002Fscan\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: scan\ndescription: Use when the user wants a goal-driven, codebase-wide investigation — \"scan for dead code\", \"find N+1 queries\", \"check test coverage gaps\", \"audit style\u002Fmigration compliance\". Replicates Devin Cloud's \u002Fscan (Code Scans): Plan → Shard → Map → Reduce, parallel read-only subagents, prioritized findings report with evidence.\ntriggers: [user, model]\n---\n\n# Scan — goal-driven codebase investigation\n\nLocal equivalent of Devin Cloud `\u002Fscan` (Code Scans). Turns a broad\nengineering goal into a scoped investigation, fans out parallel read-only\nsubagents over repo shards, then reduces findings into a prioritized report.\n\nNon-goals: no auto-fixes (remediation is a separate, gated step), no ticket\ncreation without approval, no security exploit work (see `security` skill).\n\n## Workflow — Agentic MapReduce\n\n### 1. Plan (scope + criteria)\n\nExtract or ask (`ask_user_question`, ≤2 rounds) for:\n\n- **Goal**: what to investigate (e.g. \"unused exports\", \"N+1 queries\").\n- **Scope**: dirs\u002Fglobs in or out (default: whole repo minus vendored\u002Fgenerated).\n- **Criteria**: what counts as a finding + severity rubric.\n- **Size cap**: shard count and report limits (defaults below).\n\nRecord the scan spec at `.devin\u002Fscans\u002F\u003CYYYY-MM-DD>-\u003Cslug>.spec.md`\n(one short file: goal, scope, criteria, shard list, timestamp).\n\n### 2. Shard\n\nSplit the in-scope surface into **4–8 shards** (never more than 8 — context\nand token budget). Shard by top-level dir, module, or glob cluster. Each\nshard must be describable as a path set + short focus line. Prefer\n`find_file_by_name`\u002Fmanifest boundaries over arbitrary splits.\n\n### 3. Map (parallel read-only subagents)\n\nDispatch **one `researcher` (or `subagent_explore`) background subagent per\nshard** — all in parallel, disjoint read sets. Each prompt must be\nself-contained (subagents see no session context):\n\n- The goal + criteria verbatim.\n- Its shard paths.\n- Output contract: findings only, each as\n  `file:line | severity (high\u002Fmed\u002Flow) | evidence (≤1 line quote) | why it\n  matches criteria`. Max 15 findings per shard. No findings → say so.\n- Explicitly: **read-only, no edits, no fixes proposed beyond one line.**\n\nWait for all (`read_subagent block=true` or completion notifications).\n\n### 4. Reduce (dedupe + prioritize + report)\n\n- Dedupe on `file:line` ±2 lines; merge same-pattern findings.\n- Rank: severity first, then frequency, then blast radius.\n- Write `.devin\u002Fscans\u002F\u003CYYYY-MM-DD>-\u003Cslug>.md` (report template below).\n- Print a ≤12-line summary to the user: counts by severity + top 5.\n\n### 5. Remediate (opt-in only)\n\nNever fix during a scan. Offer next steps: pick findings →\n`planning`\u002F`execution` flow → `implementer` subagents with tests. For bulk\nidentical fixes, dispatch sequentially, one at a time.\n\n## Report template\n\n```markdown\n# Scan — \u003Cgoal>\nDate: \u003CYYYY-MM-DD> | Shards: N | Findings: M\n\n## Top findings (by severity)\n| # | file:line | severity | evidence | note |\n\n## All findings (grouped by shard\u002Fpattern)\n...\n\n## Coverage notes\n- shards skipped \u002F files unreadable \u002F criteria edge cases\n```\n\n## Guardrails\n\n- Subagents are read-only; the scan itself never edits repo code.\n- Every finding carries `file:line` evidence — drop unverifiable claims.\n- Cap the report at 100 findings; group the rest by pattern.\n- Secrets found → report the location class only, never the value.\n- Cost: ~1 subagent per shard; keep ≤8 unless the user asks for more.\n\n## Examples\n\n- `\u002Fscan dead code` → criteria: unreferenced exports\u002Ffunctions; shards by\n  src dir; report ranks by confidence.\n- `\u002Fscan test gaps` → map source files without matching test files.\n- `\u002Fscan style guide` → criteria from an AGENTS.md\u002Fstyle doc shard.\n","# Scan — goal-driven codebase investigation\n\nLocal equivalent of Devin Cloud `\u002Fscan` (Code Scans). Turns a broad\nengineering goal into a scoped investigation, fans out parallel read-only\nsubagents over repo shards, then reduces findings into a prioritized report.\n\nNon-goals: no auto-fixes (remediation is a separate, gated step), no ticket\ncreation without approval, no security exploit work (see `security` skill).\n\n## Workflow — Agentic MapReduce\n\n### 1. Plan (scope + criteria)\n\nExtract or ask (`ask_user_question`, ≤2 rounds) for:\n\n- **Goal**: what to investigate (e.g. \"unused exports\", \"N+1 queries\").\n- **Scope**: dirs\u002Fglobs in or out (default: whole repo minus vendored\u002Fgenerated).\n- **Criteria**: what counts as a finding + severity rubric.\n- **Size cap**: shard count and report limits (defaults below).\n\nRecord the scan spec at `.devin\u002Fscans\u002F\u003CYYYY-MM-DD>-\u003Cslug>.spec.md`\n(one short file: goal, scope, criteria, shard list, timestamp).\n\n### 2. Shard\n\nSplit the in-scope surface into **4–8 shards** (never more than 8 — context\nand token budget). Shard by top-level dir, module, or glob cluster. Each\nshard must be describable as a path set + short focus line. Prefer\n`find_file_by_name`\u002Fmanifest boundaries over arbitrary splits.\n\n### 3. Map (parallel read-only subagents)\n\nDispatch **one `researcher` (or `subagent_explore`) background subagent per\nshard** — all in parallel, disjoint read sets. Each prompt must be\nself-contained (subagents see no session context):\n\n- The goal + criteria verbatim.\n- Its shard paths.\n- Output contract: findings only, each as\n  `file:line | severity (high\u002Fmed\u002Flow) | evidence (≤1 line quote) | why it\n  matches criteria`. Max 15 findings per shard. No findings → say so.\n- Explicitly: **read-only, no edits, no fixes proposed beyond one line.**\n\nWait for all (`read_subagent block=true` or completion notifications).\n\n### 4. Reduce (dedupe + prioritize + report)\n\n- Dedupe on `file:line` ±2 lines; merge same-pattern findings.\n- Rank: severity first, then frequency, then blast radius.\n- Write `.devin\u002Fscans\u002F\u003CYYYY-MM-DD>-\u003Cslug>.md` (report template below).\n- Print a ≤12-line summary to the user: counts by severity + top 5.\n\n### 5. Remediate (opt-in only)\n\nNever fix during a scan. Offer next steps: pick findings →\n`planning`\u002F`execution` flow → `implementer` subagents with tests. For bulk\nidentical fixes, dispatch sequentially, one at a time.\n\n## Report template\n\n```markdown\n# Scan — \u003Cgoal>\nDate: \u003CYYYY-MM-DD> | Shards: N | Findings: M\n\n## Top findings (by severity)\n| # | file:line | severity | evidence | note |\n\n## All findings (grouped by shard\u002Fpattern)\n...\n\n## Coverage notes\n- shards skipped \u002F files unreadable \u002F criteria edge cases\n```\n\n## Guardrails\n\n- Subagents are read-only; the scan itself never edits repo code.\n- Every finding carries `file:line` evidence — drop unverifiable claims.\n- Cap the report at 100 findings; group the rest by pattern.\n- Secrets found → report the location class only, never the value.\n- Cost: ~1 subagent per shard; keep ≤8 unless the user asks for more.\n\n## Examples\n\n- `\u002Fscan dead code` → criteria: unreferenced exports\u002Ffunctions; shards by\n  src dir; report ranks by confidence.\n- `\u002Fscan test gaps` → map source files without matching test files.\n- `\u002Fscan style guide` → criteria from an AGENTS.md\u002Fstyle doc shard.\n",{},"main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Fscan",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":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill scan",{"tool":37,"command":38},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill scan",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill scan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fscan\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"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":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"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":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"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":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"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":82,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]