[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADTS4K41HGYG865SA0CJ1R":3,"skill-same:01M7ADTS4K41HGYG865SA0CJ1R":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},"01M7ADTS4K41HGYG865SA0CJ1R","prompt-compiler",null,"Use when the user invokes \u002Fprompt or asks to compile, refine, or optimize a prompt before execution — interactive pre-flight optimizer that produces an approved super-prompt saved to .devin\u002Fscratch\u002Foptimized_ready.md.","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\u002Fprompt-compiler\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: prompt-compiler\ndescription: Use when the user invokes \u002Fprompt or asks to compile, refine, or optimize a prompt before execution — interactive pre-flight optimizer that produces an approved super-prompt saved to .devin\u002Fscratch\u002Foptimized_ready.md.\nargument-hint: What task should the compiled prompt execute?\ntriggers: [user]\n---\n\n# Prompt Compiler\n\nPre-flight prompt optimizer. **You are the Prompt Engineer Sênior** — the\nscript only validates and assembles; all semantic judgment (effort level,\npersona, the five template blocks) is yours, in whatever language the user\nwrites.\n\n## The Golden Template (mandatory output structure)\n\n```markdown\n# Nível de Esforço Obrigatório: [MEDIUM, HIGH ou MAX]\n# Perfil Operacional: [Cargo Sênior, ex: Staff Engineer, Tech Lead, SecOps]\n\n# Goal\n[1-2 parágrafos — objetivo final]\n\n# Context\n[Contexto arquitetural, ferramentas, estado atual]\n\n# Acceptance Criteria\n1. [Critério mensurável]\n2. [Critério mensurável]\n\n# Scope & Non-Goals\n- **IN SCOPE:** [O que fazer]\n- **OUT OF SCOPE:** [Proibido — evita reward hacking]\n\n# Execution Hints & Checkpoints\n1. **Fase 1:** [Passo]. **PARE e aguarde aprovação.**\n2. **Fase 2:** [Passo].\n```\n\n## Flow\n\n1. **Analyze the request semantically** (no script yet). Decide:\n   - `effort`: `medium` = spot fixes, single-file edits; `high` = features,\n     multi-file work (default for general work); `max` = architecture,\n     global refactors, deep research, open-ended tasks.\n   - `persona`: senior title matching the domain (Staff Engineer, Tech Lead,\n     SecOps, Data Engineer…).\n   - Style: read `extensions\u002Fai-tools\u002Fknowledge_bases\u002F\u003Cmodel>.json` for the\n     target model family's prompt rules and apply them to the draft.\n\n2. **Draft the spec JSON** with keys: `effort`, `persona`, `model`\n   (optional), `goal`, `context`, `acceptance[]`, `in_scope[]`,\n   `out_scope[]`, `phases[]`. Write it to a scratch file, e.g.\n   `.devin\u002Fscratch\u002Fprompt_spec.json`.\n\n3. **Assemble via the script** (never hand-write the final file):\n\n   ```bash\n   python extensions\u002Fai-tools\u002Fprompt_compiler.py --draft .devin\u002Fscratch\u002Fprompt_spec.json --dry-run\n   ```\n\n   The script validates all blocks and renders the exact Golden Template.\n   Invalid specs return `{ok: false, errors: [...]}` — fix and re-run.\n   When `model` is a variant family (`swe-2` or `swe-2-flash`), the JSON\n   output includes `recommended_model` (e.g. `swe-2-max` for effort `max`,\n   `swe-2-flash-high` for family `swe-2-flash` + effort `high`).\n\n4. **Iterate with the user.** Present the rendered prompt; on feedback, edit\n   the spec JSON and re-run. Loop until the user says `APPROVE`.\n\n5. **On approval**, run without `--dry-run` — the script writes\n   `.devin\u002Fscratch\u002Foptimized_ready.md` and prints `{ok, path, sha256}`.\n   Verify `ok: true`.\n\nInteractive TTY fallback (user drives the fields, no agent drafting):\n\n```bash\npython extensions\u002Fai-tools\u002Fprompt_compiler.py            # prompts per field\npython extensions\u002Fai-tools\u002Fprompt_compiler.py --draft spec.json   # edit-by-section loop\n```\n\n## Knowledge base upkeep\n\nNew prompt-engineering guide arrived? Do not hand-edit JSONs blindly —\ninvoke `knowledge-modeling` to extract entities\u002Frules from the raw source,\nthen write `knowledge_bases\u002F\u003Cmodel>.json` per that directory's README schema,\nand re-run `prompt_compiler.py --self-test`.\n","# Prompt Compiler\n\nPre-flight prompt optimizer. **You are the Prompt Engineer Sênior** — the\nscript only validates and assembles; all semantic judgment (effort level,\npersona, the five template blocks) is yours, in whatever language the user\nwrites.\n\n## The Golden Template (mandatory output structure)\n\n```markdown\n# Nível de Esforço Obrigatório: [MEDIUM, HIGH ou MAX]\n# Perfil Operacional: [Cargo Sênior, ex: Staff Engineer, Tech Lead, SecOps]\n\n# Goal\n[1-2 parágrafos — objetivo final]\n\n# Context\n[Contexto arquitetural, ferramentas, estado atual]\n\n# Acceptance Criteria\n1. [Critério mensurável]\n2. [Critério mensurável]\n\n# Scope & Non-Goals\n- **IN SCOPE:** [O que fazer]\n- **OUT OF SCOPE:** [Proibido — evita reward hacking]\n\n# Execution Hints & Checkpoints\n1. **Fase 1:** [Passo]. **PARE e aguarde aprovação.**\n2. **Fase 2:** [Passo].\n```\n\n## Flow\n\n1. **Analyze the request semantically** (no script yet). Decide:\n   - `effort`: `medium` = spot fixes, single-file edits; `high` = features,\n     multi-file work (default for general work); `max` = architecture,\n     global refactors, deep research, open-ended tasks.\n   - `persona`: senior title matching the domain (Staff Engineer, Tech Lead,\n     SecOps, Data Engineer…).\n   - Style: read `extensions\u002Fai-tools\u002Fknowledge_bases\u002F\u003Cmodel>.json` for the\n     target model family's prompt rules and apply them to the draft.\n\n2. **Draft the spec JSON** with keys: `effort`, `persona`, `model`\n   (optional), `goal`, `context`, `acceptance[]`, `in_scope[]`,\n   `out_scope[]`, `phases[]`. Write it to a scratch file, e.g.\n   `.devin\u002Fscratch\u002Fprompt_spec.json`.\n\n3. **Assemble via the script** (never hand-write the final file):\n\n   ```bash\n   python extensions\u002Fai-tools\u002Fprompt_compiler.py --draft .devin\u002Fscratch\u002Fprompt_spec.json --dry-run\n   ```\n\n   The script validates all blocks and renders the exact Golden Template.\n   Invalid specs return `{ok: false, errors: [...]}` — fix and re-run.\n   When `model` is a variant family (`swe-2` or `swe-2-flash`), the JSON\n   output includes `recommended_model` (e.g. `swe-2-max` for effort `max`,\n   `swe-2-flash-high` for family `swe-2-flash` + effort `high`).\n\n4. **Iterate with the user.** Present the rendered prompt; on feedback, edit\n   the spec JSON and re-run. Loop until the user says `APPROVE`.\n\n5. **On approval**, run without `--dry-run` — the script writes\n   `.devin\u002Fscratch\u002Foptimized_ready.md` and prints `{ok, path, sha256}`.\n   Verify `ok: true`.\n\nInteractive TTY fallback (user drives the fields, no agent drafting):\n\n```bash\npython extensions\u002Fai-tools\u002Fprompt_compiler.py            # prompts per field\npython extensions\u002Fai-tools\u002Fprompt_compiler.py --draft spec.json   # edit-by-section loop\n```\n\n## Knowledge base upkeep\n\nNew prompt-engineering guide arrived? Do not hand-edit JSONs blindly —\ninvoke `knowledge-modeling` to extract entities\u002Frules from the raw source,\nthen write `knowledge_bases\u002F\u003Cmodel>.json` per that directory's README schema,\nand re-run `prompt_compiler.py --self-test`.\n",{"name":5,"triggers":24,"description":7,"argument-hint":26},[25],"user","What task should the compiled prompt execute?","main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Fprompt-compiler",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 prompt-compiler",{"tool":41,"command":42},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill prompt-compiler",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill prompt-compiler","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fprompt-compiler\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",[],[]]