[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71F0NS9A4MVZPW8EHZCBJ71":3,"skill-same:01M71F0NS9A4MVZPW8EHZCBJ71":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":61,"install":62,"resources":75},"01M71F0NS9A4MVZPW8EHZCBJ71","harness-lifecycle",null,"Operate the ai-specs project lifecycle: init, configure-recipes, sync, sync-agent, refresh-bundled, doctor, upgrade, and hub. Trigger: When bootstrapping a project, syncing the harness after manifest changes, diagnosing health, upgrading the CLI, or using the interactive hub.","parada1104\u002Fai-specs-cli","parada1104","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F57575053?v=4","01M71EZZV71KAFZKJ47FQ99ZVS","01M71EZZW7JJBY2VAWA5HRD944",0,"MIT","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Fbundled-skills\u002Fharness-lifecycle\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"harness lifecycle","harness","lifecycle","interactive","menu","when","interactive menu","operate","recipe","trigger","project","upgrade","init","initialize","configure","open","manifest","doctor","bootstrap","diagnose","2026-11-10 10:12:30",false,"---\nname: harness-lifecycle\ndescription: >\n  Operate the ai-specs project lifecycle: init, configure-recipes, sync,\n  sync-agent, refresh-bundled, doctor, upgrade, and hub. Trigger: When\n  bootstrapping a project, syncing the harness after manifest changes,\n  diagnosing health, upgrading the CLI, or using the interactive hub.\nlicense: MIT\nmetadata:\n  author: ai-specs\n  version: \"1.0\"\n  scope: [root]\n  auto_invoke:\n    - \"Initialize or bootstrap ai-specs in a project\"\n    - \"Sync the harness after manifest or recipe changes\"\n    - \"Run doctor or diagnose ai-specs project health\"\n    - \"Upgrade the ai-specs CLI installation\"\n    - \"Open the ai-specs hub or interactive menu\"\n---\n\n# Harness lifecycle\n\nUse this skill for **project lifecycle** ops on the public `ai-specs` CLI.\nFor catalog recipes see `harness-recipes`. For local skills and external deps\nsee `harness-skills-deps`.\n\n## Resolve the CLI (footnote)\n\nPrefer PATH, then the install home:\n\n```bash\ncommand -v ai-specs >\u002Fdev\u002Fnull 2>&1 && ai-specs \"$@\" \\\n  || \"${AI_SPECS_HOME:-$HOME\u002F.ai-specs}\u002Fbin\u002Fai-specs\" \"$@\"\n```\n\nDo **not** invent a per-project `ai-specs\u002Fbin\u002Fai-specs` shim.\n\n## Order of ops (happy path)\n\n1. `ai-specs init [path]` — scaffold `ai-specs\u002F`, AGENTS.md, gitignore (idempotent).\n2. Edit `ai-specs\u002Fai-specs.toml` (agents, mcp, recipes, deps) as needed.\n3. `ai-specs configure-recipes [path]` — fill recipe config, check CLI deps,\n   optional `.envrc.example` (also covered in `harness-recipes`).\n4. `ai-specs sync [path]` — vendor\u002Frefresh + regen AGENTS.md + fan-out agents.\n5. `ai-specs doctor [path]` — read-only health check after sync or when something\n\n   looks wrong.\n\nRe-run **sync** after any meaningful manifest \u002F recipe \u002F skill change. Do not\nhand-edit generated agent instruction files when sync owns them.\n\nFor agent-assisted recipe setup, prefer the deterministic\n`ai-specs recipe configure \u003Cid> [path] --inspect --json` → review and explicit\napproval → `--set KEY=VALUE --sync` path described by `harness-recipes`.\nKeep the interactive `configure-recipes` wizard available for human prompting;\nthe assisted helper is additive and preserves existing config and overrides.\n\n## Commands\n\n| Command | When |\n|---|---|\n| `ai-specs init` | First time (or offer-init from hub). Safe to re-run. |\n| `ai-specs configure-recipes` | After enabling recipes that need config\u002Fenv. |\n| `ai-specs sync` | After toml\u002Frecipe\u002Fskill\u002Fdep changes; primary reconcile. |\n| `ai-specs sync-agent` | Fan-out only (skip full vendor) when you only need agent targets refreshed. |\n| `ai-specs refresh-bundled` | Force bundled skill\u002Fcommand refresh from the installed CLI. |\n| `ai-specs doctor` | Diagnose without writing. |\n| `ai-specs upgrade` | Upgrade the **global** CLI install (not a project op). |\n| `ai-specs hub` \u002F bare `ai-specs` | Interactive status + menu (TTY). |\n\n`ai-specs version` \u002F `ai-specs help` are footnotes only.\n\n`ai-specs rules-audit` exists for legacy rules inventory; not part of this\nliteracy skill's primary flows — use when migrating old Cursor rules.\n\n## refresh-bundled (CLI-bundled skills)\n\nCLI-bundled skills (including this one) ship via `refresh-bundled` on init\u002Fsync:\n\n- Skills are **flattened** into `{cache}\u002F.bundled\u002Fskills\u002F\u003Cname>\u002F` (never into\n  `ai-specs\u002Fskills\u002F`). Agents resolve them through the usual skill fan-out.\n- Sync deletes leftover in-project copies of bundled ids when untouched; a\n  locally authored skill of the same id is preserved.\n- If git still tracks a removed leftover, the CLI prints \u002F `doctor` WARNs with\n  `git rm -r --cached …` guidance — it never modifies the git index for you.\n- Bundled **commands** still materialize under `ai-specs\u002Fcommands\u002F` (relocation\n  is a follow-up).\n\n## Pitfalls\n\n- **Edit toml, forget sync** — agents keep stale skills\u002FMCPs\u002Fbrief.\n- **Hand-edit AGENTS.md** that sync regenerates — changes get overwritten\n  unless the file is marked user-managed (`\u003C!-- ai-specs:runtime-brief -->`).\n- **upgrade vs sync** — `upgrade` updates `~\u002F.ai-specs`; `sync` updates the\n  project from that install.\n- **Wrong cwd** — pass `[path]` when not at the project root.\n- **Hub needs TTY + deps** — missing `rich`\u002F`questionary` → exit 3; non-TTY\n  gets status text only.\n\n## Checklist\n\n- [ ] Manifest reflects the intended agents\u002Frecipes\u002Fdeps\n- [ ] Ran `ai-specs sync` after edits\n- [ ] Ran `ai-specs doctor` if something failed or looks inconsistent\n- [ ] Did not invent project-local CLI shims\n","# Harness lifecycle\n\nUse this skill for **project lifecycle** ops on the public `ai-specs` CLI.\nFor catalog recipes see `harness-recipes`. For local skills and external deps\nsee `harness-skills-deps`.\n\n## Resolve the CLI (footnote)\n\nPrefer PATH, then the install home:\n\n```bash\ncommand -v ai-specs >\u002Fdev\u002Fnull 2>&1 && ai-specs \"$@\" \\\n  || \"${AI_SPECS_HOME:-$HOME\u002F.ai-specs}\u002Fbin\u002Fai-specs\" \"$@\"\n```\n\nDo **not** invent a per-project `ai-specs\u002Fbin\u002Fai-specs` shim.\n\n## Order of ops (happy path)\n\n1. `ai-specs init [path]` — scaffold `ai-specs\u002F`, AGENTS.md, gitignore (idempotent).\n2. Edit `ai-specs\u002Fai-specs.toml` (agents, mcp, recipes, deps) as needed.\n3. `ai-specs configure-recipes [path]` — fill recipe config, check CLI deps,\n   optional `.envrc.example` (also covered in `harness-recipes`).\n4. `ai-specs sync [path]` — vendor\u002Frefresh + regen AGENTS.md + fan-out agents.\n5. `ai-specs doctor [path]` — read-only health check after sync or when something\n\n   looks wrong.\n\nRe-run **sync** after any meaningful manifest \u002F recipe \u002F skill change. Do not\nhand-edit generated agent instruction files when sync owns them.\n\nFor agent-assisted recipe setup, prefer the deterministic\n`ai-specs recipe configure \u003Cid> [path] --inspect --json` → review and explicit\napproval → `--set KEY=VALUE --sync` path described by `harness-recipes`.\nKeep the interactive `configure-recipes` wizard available for human prompting;\nthe assisted helper is additive and preserves existing config and overrides.\n\n## Commands\n\n| Command | When |\n|---|---|\n| `ai-specs init` | First time (or offer-init from hub). Safe to re-run. |\n| `ai-specs configure-recipes` | After enabling recipes that need config\u002Fenv. |\n| `ai-specs sync` | After toml\u002Frecipe\u002Fskill\u002Fdep changes; primary reconcile. |\n| `ai-specs sync-agent` | Fan-out only (skip full vendor) when you only need agent targets refreshed. |\n| `ai-specs refresh-bundled` | Force bundled skill\u002Fcommand refresh from the installed CLI. |\n| `ai-specs doctor` | Diagnose without writing. |\n| `ai-specs upgrade` | Upgrade the **global** CLI install (not a project op). |\n| `ai-specs hub` \u002F bare `ai-specs` | Interactive status + menu (TTY). |\n\n`ai-specs version` \u002F `ai-specs help` are footnotes only.\n\n`ai-specs rules-audit` exists for legacy rules inventory; not part of this\nliteracy skill's primary flows — use when migrating old Cursor rules.\n\n## refresh-bundled (CLI-bundled skills)\n\nCLI-bundled skills (including this one) ship via `refresh-bundled` on init\u002Fsync:\n\n- Skills are **flattened** into `{cache}\u002F.bundled\u002Fskills\u002F\u003Cname>\u002F` (never into\n  `ai-specs\u002Fskills\u002F`). Agents resolve them through the usual skill fan-out.\n- Sync deletes leftover in-project copies of bundled ids when untouched; a\n  locally authored skill of the same id is preserved.\n- If git still tracks a removed leftover, the CLI prints \u002F `doctor` WARNs with\n  `git rm -r --cached …` guidance — it never modifies the git index for you.\n- Bundled **commands** still materialize under `ai-specs\u002Fcommands\u002F` (relocation\n  is a follow-up).\n\n## Pitfalls\n\n- **Edit toml, forget sync** — agents keep stale skills\u002FMCPs\u002Fbrief.\n- **Hand-edit AGENTS.md** that sync regenerates — changes get overwritten\n  unless the file is marked user-managed (`\u003C!-- ai-specs:runtime-brief -->`).\n- **upgrade vs sync** — `upgrade` updates `~\u002F.ai-specs`; `sync` updates the\n  project from that install.\n- **Wrong cwd** — pass `[path]` when not at the project root.\n- **Hub needs TTY + deps** — missing `rich`\u002F`questionary` → exit 3; non-TTY\n  gets status text only.\n\n## Checklist\n\n- [ ] Manifest reflects the intended agents\u002Frecipes\u002Fdeps\n- [ ] Ran `ai-specs sync` after edits\n- [ ] Ran `ai-specs doctor` if something failed or looks inconsistent\n- [ ] Did not invent project-local CLI shims\n",{"name":5,"license":14,"metadata":43,"description":54},{"scope":44,"author":46,"version":47,"auto_invoke":48},[45],"root","ai-specs","1.0",[49,50,51,52,53],"Initialize or bootstrap ai-specs in a project","Sync the harness after manifest or recipe changes","Run doctor or diagnose ai-specs project health","Upgrade the ai-specs CLI installation","Open the ai-specs hub or interactive menu","Operate the ai-specs project lifecycle: init, configure-recipes, sync, sync-agent, refresh-bundled, doctor, upgrade, and hub. Trigger: When bootstrapping a project, syncing the harness after manifest changes, diagnosing health, upgrading the CLI, or using the interactive hub.\n","main","c092fc1f51280350a4434827e2f6d6d99e3431ca","bundled-skills\u002Fharness-lifecycle",2,"https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli","https:\u002F\u002Fgithub.com\u002Fparada1104","2026-11-15 03:00:26",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add parada1104\u002Fai-specs-cli --skill harness-lifecycle",{"tool":68,"command":69},"bunx","bunx skills add parada1104\u002Fai-specs-cli --skill harness-lifecycle",{"tool":71,"command":72},"pnpm","pnpm dlx skills add parada1104\u002Fai-specs-cli --skill harness-lifecycle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Fbundled-skills\u002Fharness-lifecycle\u002FSKILL.md",true,[],[77,98,112,121,130,143],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":91,"publishedAt":38},"01M71F2TF9TS9DNCJ68M7C3B5S","test-skill","Test skill for fixture purposes.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Frecipes\u002Ftest-fixture\u002Fskills\u002Ftest-skill\u002FSKILL.md",[83,88],{"categoryNo":84,"categoryName":85,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":89,"categoryName":90,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000023","Skill与智能体开发",[92,93,94,45,95,96,97],"Test Skill","test","for","fixtures","fixture","testing",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":107,"publishedAt":38},"01M71F2RTH94ZB7XEAW4P6ZG0D","obsidian-markdown","Fixture skill for obsidian-markdown.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fkepano-obsidian-skills\u002Fskills\u002Fobsidian-markdown\u002FSKILL.md",[104],{"categoryNo":105,"categoryName":106,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000002","文档处理",[108,109,110,94,96,111],"markdown","obsidian markdown","obsidian","fixture skill",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":38},"01M71F2R20CPTJXD9F7DP4JPP6","obsidian-cli","Fixture skill for obsidian-cli.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fkepano-obsidian-skills\u002Fskills\u002Fobsidian-cli\u002FSKILL.md",[],[119,110,120,94,96,111],"obsidian cli","cli",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":38},"01M71F2PCH4NWVTT1J57SHJX33","obsidian-bases","Fixture skill for obsidian-bases.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fkepano-obsidian-skills\u002Fskills\u002Fobsidian-bases\u002FSKILL.md",[],[128,129,110,94,96,111],"bases","obsidian bases",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":139,"publishedAt":38},"01M71F2MSS6EVFEYVYAA1KBYCC","json-canvas","Fixture skill for json-canvas.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fkepano-obsidian-skills\u002Fskills\u002Fjson-canvas\u002FSKILL.md",[136],{"categoryNo":137,"categoryName":138,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000015","视觉设计",[140,141,142,111,96,94],"json","json canvas","canvas",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":38},"01M71F2KY5QVNEN1Q3REFB0MQZ","defuddle","Fixture skill for defuddle.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fkepano-obsidian-skills\u002Fskills\u002Fdefuddle\u002FSKILL.md",[],[145,111,96,94]]