[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C12Z53VM7Z9JRJ4PXSE5KB":3,"skill-same:01M6C12Z53VM7Z9JRJ4PXSE5KB":70},{"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":23,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6C12Z53VM7Z9JRJ4PXSE5KB","devkit-create-command",null,"Create a new slash command with AI-guided behavior definition","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-dev\u002Fskills\u002Fdevkit-create-command\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32],"create","command","devkit create command","create command","devkit","behavior","with","definition","new","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: devkit-create-command\nplatforms: [all]\ndescription: Create a new slash command with AI-guided behavior definition\n---\n\n\u003C!-- AIWG-SKILL-CALLOUT -->\n> **Skill access pattern (post-kernel-pivot, 2026.5+)**\n>\n> Skill names referenced in this document are AIWG skills, **not slash commands**. Most are not kernel-listed and cannot be invoked as `\u002Fskill-name` by the platform. Reach them via:\n>\n> ```bash\n> aiwg discover \"\u003Ccapability>\"\n> aiwg show skill \u003Cname> --body\n> ```\n>\n> Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](..\u002F..\u002F..\u002Faddons\u002Faiwg-utils\u002Frules\u002Fskill-discovery.md).\n\n\n# Create AIWG Command\n\nCreate a new slash command with AI assistance to define arguments, behavior, and output.\n\n## Usage\n\n```\n\u002Fdevkit-create-command \u003Cname> --to \u003Ctarget> [options]\n```\n\n## Arguments\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| name | Yes | Command name (kebab-case recommended) |\n\n## Required Options\n\n| Option | Description |\n|--------|-------------|\n| --to | Target addon or framework |\n\n## Optional Options\n\n| Option | Description |\n|--------|-------------|\n| --template | Command template: utility (default), transformation, orchestration |\n| --interactive | Enable interactive mode with guided questions |\n\n## Templates\n\n### utility (default)\nSimple operation, single action command.\n- Best for: Quick tasks, file operations, status checks\n- Example: `lint-check`, `deploy-status`\n\n### transformation\nContent\u002Fcode transformation pipeline with input\u002Foutput handling.\n- Best for: Format conversion, code refactoring, content processing\n- Example: `convert-format`, `refactor-code`\n\n### orchestration\nMulti-agent workflow coordination with phases and parallel execution.\n- Best for: Complex workflows, phase transitions, multi-step processes\n- Example: `flow-deploy-to-production`, `flow-security-review`\n\n## Interactive Mode\n\nWhen `--interactive` is specified, I will ask:\n\n1. **Purpose**: What does this command do?\n2. **Arguments**: What inputs does it need?\n3. **Options**: What configuration options should it support?\n4. **Steps**: What are the execution steps?\n5. **Output**: What should the output look like?\n\n## Examples\n\n```bash\n# Simple utility command\n\u002Fdevkit-create-command lint-fix --to aiwg-utils\n\n# Transformation pipeline\n\u002Fdevkit-create-command convert-docs --to sdlc-complete --template transformation\n\n# Orchestration workflow\n\u002Fdevkit-create-command deploy-all --to sdlc-complete --template orchestration --interactive\n```\n\n## Execution\n\n1. **Validate inputs**: Check name and target\n2. **Verify target exists**: Ensure addon\u002Fframework is installed\n3. **Select template**: Use specified or default to utility\n4. **Gather behavior**: In interactive mode, ask about command behavior\n5. **Generate command file**: Create with frontmatter and sections\n6. **Update manifest**: Add command to manifest.json\n7. **Report success**: Show location and usage instructions\n\n## Output Location\n\n```\n\u003Ctarget>\u002Fcommands\u002F\u003Cname>.md\n```\n\n## Command File Structure\n\n```markdown\n---\nname: command-name\ndescription: Command description\nargs: [arg1] [--option value --guidance \"text\"]\n---\n\n# Command Title\n\n[Description]\n\n## Usage\n[How to invoke]\n\n## Arguments\n[Input parameters]\n\n## Options\n[Configuration flags]\n\n## Execution\n[Step-by-step behavior]\n\n## Output\n[What to expect]\n```\n\n## CLI Equivalent\n\n```bash\naiwg add-command \u003Cname> --to \u003Ctarget> --template \u003Ctype>\n```\n\n## Related Commands\n\n- `devkit-create-agent` - Create an agent\n- `devkit-create-skill` - Create an auto-triggered skill\n- `devkit-validate` - Validate command structure\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-dev\u002FREADME.md — aiwg-dev addon overview\n- @$AIWG_ROOT\u002Fdocs\u002Fextensions\u002Fextension-types.md — Extension types including command type\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference including add-command command\n- @$AIWG_ROOT\u002Fdocs\u002Fextensions\u002Fcreating-extensions.md — Guide to building custom extensions\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC framework with example commands\n","\u003C!-- AIWG-SKILL-CALLOUT -->\n> **Skill access pattern (post-kernel-pivot, 2026.5+)**\n>\n> Skill names referenced in this document are AIWG skills, **not slash commands**. Most are not kernel-listed and cannot be invoked as `\u002Fskill-name` by the platform. Reach them via:\n>\n> ```bash\n> aiwg discover \"\u003Ccapability>\"\n> aiwg show skill \u003Cname> --body\n> ```\n>\n> Only kernel-listed skills (`aiwg-doctor`, `aiwg-refresh`, `aiwg-status`, `aiwg-help`, `use`, `steward`) are directly invokable as slash commands. See [skill-discovery rule](..\u002F..\u002F..\u002Faddons\u002Faiwg-utils\u002Frules\u002Fskill-discovery.md).\n\n\n# Create AIWG Command\n\nCreate a new slash command with AI assistance to define arguments, behavior, and output.\n\n## Usage\n\n```\n\u002Fdevkit-create-command \u003Cname> --to \u003Ctarget> [options]\n```\n\n## Arguments\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| name | Yes | Command name (kebab-case recommended) |\n\n## Required Options\n\n| Option | Description |\n|--------|-------------|\n| --to | Target addon or framework |\n\n## Optional Options\n\n| Option | Description |\n|--------|-------------|\n| --template | Command template: utility (default), transformation, orchestration |\n| --interactive | Enable interactive mode with guided questions |\n\n## Templates\n\n### utility (default)\nSimple operation, single action command.\n- Best for: Quick tasks, file operations, status checks\n- Example: `lint-check`, `deploy-status`\n\n### transformation\nContent\u002Fcode transformation pipeline with input\u002Foutput handling.\n- Best for: Format conversion, code refactoring, content processing\n- Example: `convert-format`, `refactor-code`\n\n### orchestration\nMulti-agent workflow coordination with phases and parallel execution.\n- Best for: Complex workflows, phase transitions, multi-step processes\n- Example: `flow-deploy-to-production`, `flow-security-review`\n\n## Interactive Mode\n\nWhen `--interactive` is specified, I will ask:\n\n1. **Purpose**: What does this command do?\n2. **Arguments**: What inputs does it need?\n3. **Options**: What configuration options should it support?\n4. **Steps**: What are the execution steps?\n5. **Output**: What should the output look like?\n\n## Examples\n\n```bash\n# Simple utility command\n\u002Fdevkit-create-command lint-fix --to aiwg-utils\n\n# Transformation pipeline\n\u002Fdevkit-create-command convert-docs --to sdlc-complete --template transformation\n\n# Orchestration workflow\n\u002Fdevkit-create-command deploy-all --to sdlc-complete --template orchestration --interactive\n```\n\n## Execution\n\n1. **Validate inputs**: Check name and target\n2. **Verify target exists**: Ensure addon\u002Fframework is installed\n3. **Select template**: Use specified or default to utility\n4. **Gather behavior**: In interactive mode, ask about command behavior\n5. **Generate command file**: Create with frontmatter and sections\n6. **Update manifest**: Add command to manifest.json\n7. **Report success**: Show location and usage instructions\n\n## Output Location\n\n```\n\u003Ctarget>\u002Fcommands\u002F\u003Cname>.md\n```\n\n## Command File Structure\n\n```markdown\n---\nname: command-name\ndescription: Command description\nargs: [arg1] [--option value --guidance \"text\"]\n---\n\n# Command Title\n\n[Description]\n\n## Usage\n[How to invoke]\n\n## Arguments\n[Input parameters]\n\n## Options\n[Configuration flags]\n\n## Execution\n[Step-by-step behavior]\n\n## Output\n[What to expect]\n```\n\n## CLI Equivalent\n\n```bash\naiwg add-command \u003Cname> --to \u003Ctarget> --template \u003Ctype>\n```\n\n## Related Commands\n\n- `devkit-create-agent` - Create an agent\n- `devkit-create-skill` - Create an auto-triggered skill\n- `devkit-validate` - Validate command structure\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-dev\u002FREADME.md — aiwg-dev addon overview\n- @$AIWG_ROOT\u002Fdocs\u002Fextensions\u002Fextension-types.md — Extension types including command type\n- @$AIWG_ROOT\u002Fdocs\u002Fcli-reference.md — CLI reference including add-command command\n- @$AIWG_ROOT\u002Fdocs\u002Fextensions\u002Fcreating-extensions.md — Guide to building custom extensions\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002FREADME.md — SDLC framework with example commands\n",{"name":5,"namespace":38,"platforms":39,"description":7},"aiwg",[40],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Faddons\u002Faiwg-dev\u002Fskills\u002Fdevkit-create-command",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 02:10:01",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add jmagly\u002Faiwg --skill devkit-create-command",{"tool":57,"command":58},"bunx","bunx skills add jmagly\u002Faiwg --skill devkit-create-command",{"tool":60,"command":61},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill devkit-create-command","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-dev\u002Fskills\u002Fdevkit-create-command\u002FSKILL.md",true,[65],{"path":66,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"LICENSE","许可证",1070,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-find-animation-opportunities\u002FLICENSE",[71,99,123,129,136,150],{"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":78,"publishedAt":33},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[77],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],"host","host hardening","hardening","read","re","recommendations","remediation","plan","port","verification","Bash","access","only","retention","audit","never","firewall","bind","secrets","request",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":109,"publishedAt":33},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[105,108],{"categoryNo":106,"categoryName":107,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[110,111,112,82,113,87,114,115,89,116,79,117,91,118,119,94,95,120,121,122],"exposure analysis","analysis","unknown","credentials","collection","ufw","ports","internet","local","scope","reconstruction","operator","write",{"skillNo":124,"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":125,"categories":126,"keywords":128,"publishedAt":33},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[127],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[81,79,80,90,82,98,85,84,93,86,87,88,89,97,91,92,83,94,95,96],{"skillNo":130,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":135,"publishedAt":33},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[133,134],{"categoryNo":106,"categoryName":107,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[111,110,94,113,87,114,89,112,79,117,91,118,119,82,95,116,115,120,121,122],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":143,"publishedAt":33},"01M6CB4DDR0B4NNCFK7ZK7449H","fixture-skill","Exercise rule delivery.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Frule-delivery\u002Fskills\u002Ffixture-skill\u002FSKILL.md",[142],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[144,145,146,147,148,149],"fixture skill","fixture","rule","delivery","true","exercise",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":157,"publishedAt":33},"01M6CB4AVK1W76MFMPP0JP32CJ","pi-local","Pi-local duplicate-precedence fixture.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fproviders\u002Fpi\u002Fproject\u002F.pi\u002Fskills\u002Fpi-local\u002FSKILL.md",[156],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[158,159,118,160,145],"pi","pi local","duplicate"]