[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EDA29K5W5TP00XF9CJ42X4":3,"skill-same:01M7EDA29K5W5TP00XF9CJ42X4":49},{"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":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7EDA29K5W5TP00XF9CJ42X4","md-starter",null,"jonahthan433\u002FCortexOS","jonahthan433","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211465495?v=4","01M7ECH9HPHGA89DCXHHJBTS3C","jonah.ai","01M7ECH9JCEM45DZMWPT7148S1",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fproductivity\u002Fmd-starter\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# md-starter\n\n# Claude.md Starter — Project Context Generator\n\nScans the repo, infers the tech stack and conventions, asks at most 3 targeted questions, and writes a populated CLAUDE.md that gives Claude full project context from session one.\n\n## Invocation Triggers\n\n**Explicit:**\n- \"create a CLAUDE.md\"\n- \"my CLAUDE.md is blank\"\n- \"generate project context\"\n- \"initialize CLAUDE.md\"\n- \"set up Claude context for this repo\"\n- \"fill in my CLAUDE.md\"\n- \"run the claude-md-starter skill\"\n\n**Implicit:**\n- User pastes a near-empty CLAUDE.md and asks Claude to populate it\n- User keeps re-explaining the same project context at the start of sessions\n\nRun immediately when triggered — no upfront questions before scanning.\n\n## Workflow (6 Nodes)\n\n| Node | Role |\n|---|---|\n| 1 — Detect | Check if CLAUDE.md exists and measure content length |\n| 2 — Scan | Read signal files from the project root (see `references\u002Fscan-signals.md`) |\n| 3 — Infer | Draft all sections that can be derived from scanned signals |\n| 4 — Grill-me | Ask at most 3 questions for what cannot be inferred |\n| 5 — Generate | Write the full CLAUDE.md using the template in `references\u002Fclaude-md-template.md` |\n| 6 — Validate | Confirm required sections are present and non-placeholder |\n\n## Node 1 — Detect\n\nCheck for CLAUDE.md at the project root.\n\n**If not found:** Proceed directly to Node 2.\n\n**If found and has ≤ 200 characters:** Treat as blank — proceed to Node 2.\n\n**If found and has > 200 characters:** Run the diff-and-merge flow before writing:\n\n1. Read the existing file\n2. Complete Nodes 2–4 to produce the generated version\n3. Compare section by section — for each of the 8 required sections, classify as:\n   - **NEW** — exists in generated, absent or empty in existing\n   - **ENHANCED** — both versions have content; generated version adds more\n   - **SAME** — both versions have equivalent content\n   - **CONFLICT** — both versions have different non-empty content\n\n4. Present a diff summary table:\n\n```\nSection              | Existing | Generated | Action\n---------------------|----------|-----------|-------\nProject Overview     | present  | enhanced  | +additions available\nTech Stack           | absent   | new       | will add\nCommands             | present  | enhanced  | +2 commands found\nArchitecture         | absent   | new       | will add\nCode Conventions     | present  | same      | no change\nTesting              | absent   | new       | will add\nWhat NOT To Do       | absent   | new       | will add\nEnvironment Setup    | absent   | new       | will add\n```\n\n5. Offer three options:\n   - **A (Recommended)** — Keep existing content + add new and enhanced sections only (safe, additive)\n   - **B** — Full replace with generated version\n   - **C** — Review each conflicting section individually before writing\n\n6. Write the chosen merge result.\n\n## Node 2 — Scan\n\nRead signal files using the catalog in `references\u002Fscan-signals.md`. For each file found, extract the fields it reveals. Missing files are skipped silently.\n\nRun all reads in parallel where possible:\n\n1. `package.json` — framework, scripts, package manager, dependencies\n2. `pyproject.toml` \u002F `requirements.txt` \u002F `setup.py` — Python stack\n3. `Cargo.toml` \u002F `go.mod` \u002F `pom.xml` \u002F `build.gradle` — language\n4. `Makefile` \u002F `justfile` — named commands\n5. `.github\u002Fworkflows\u002F*.yml` — CI\u002FCD steps, deploy targets\n6. `Dockerfile` \u002F `docker-compose.yml` — runtime environment, services\n7. `.eslintrc.*` \u002F `.prettierrc.*` \u002F `eslint.config.*` — JS\u002FTS code style\n8. `ruff.toml` \u002F `.flake8` \u002F `mypy.ini` — Python lint\u002Ftype config\n9. `jest.config.*` \u002F `vitest.config.*` \u002F `pytest.ini` \u002F `conftest.py` — test framework\n10. `tsconfig.json` — TypeScript settings\n11. `.env.example` \u002F `.env.sample` — required environment variables\n12. `README.md` (first 40 lines only) — project description\n13. Top-level directory listing — architecture pattern\n14. `.gitignore` — build artifacts and generated files\n\n## Node 3 — Infer\n\nUsing scanned data, populate as many sections as possible before asking questions:\n\n- **Project Overview** → from README.md first paragraph; fall back to `package.json` `description` field\n- **Tech Stack** → from language files + framework dependencies\n- **Commands** → from `package.json` scripts, Makefile targets, workflow run steps\n- **Architecture** → from top-level directory structure\n- **Code Conventions** → from eslint\u002Fprettier\u002Fruff config values\n- **Testing** → from test config files and test directory location\n- **What NOT To Do** → from `.gitignore` build outputs, workflow branch protection, lock files\n- **Environment Setup** → from `.env.example` variable names and docker-compose services\n\n## Node 4 — Grill-Me Intake\n\nAsk only for what cannot be inferred. Maximum 3 questions. Skip any question whose answer is already clear from scanned files.\n\nPresent all applicable questions together in one message — never ask them across multiple turns:\n\n> **Quick questions to finish your CLAUDE.md** (answer whichever apply):\n>\n> 1. What does this project do in one sentence? *(skip if README was found)*\n> 2. Are there any files, directories, or systems that should never be touched or auto-modified by Claude?\n> 3. Any team conventions not captured in your lint config? *(naming patterns, PR size, commit format, review process)*\n\n## Node 5 — Generate\n\nProduce the CLAUDE.md using the exact section structure from `references\u002Fclaude-md-template.md`.\n\n**Critical rules:**\n- Every populated section must have real content — no `[TODO: add your X here]` placeholders\n- If a section cannot be filled at all, omit it entirely rather than writing a placeholder\n- Commands must be exact and runnable (`npm run dev`, not \"run the dev server\")\n- What NOT To Do must have at least 2 entries\n- Write in imperative, direct style (\"Run tests with...\", \"Never edit files in...\")\n- No heading levels deeper than H2 within sections\n\n## Node 6 — Validate\n\nBefore writing, verify against `references\u002Fvalidation-checklist.md`:\n\n- [ ] All populated sections have real content (no placeholders)\n- [ ] Commands section has ≥ 2 runnable commands\n- [ ] What NOT To Do has ≥ 2 entries\n- [ ] No unreplaced placeholder text remains\n- [ ] If existing CLAUDE.md had > 200 characters, diff-and-merge flow was completed\n\nIf Commands or What NOT To Do would fail: ask one final targeted question before writing.\n\n## Output\n\nWrite the file to `CLAUDE.md` at the project root. After writing, print a one-line confirmation:\n\n```\n✓ CLAUDE.md written — X sections populated from repo scan, Y from your answers.\n```\n\nIf in diff-and-merge mode, also print which sections were added vs. left unchanged.\n\n## Anti-Patterns To Reject\n\n- Generating CLAUDE.md without running the scan first\n- Asking more than 3 intake questions\n- Writing placeholder sections (\"add your commands here\")\n- Overwriting an existing populated CLAUDE.md without running the diff-and-merge flow\n- Writing generic boilerplate not specific to the scanned project\n- Including commands that weren't found in signal files and weren't confirmed by the user\n\n## References\n\n- `references\u002Fscan-signals.md` — full catalog of signal files and what each reveals\n- `references\u002Fclaude-md-template.md` — canonical CLAUDE.md section structure and style rules\n- `references\u002Fvalidation-checklist.md` — required fields and quality gates before writing\n\n---\n\n**Version:** 1.0.0\n",{},"main","38b32c99e7ed0b8e215d638e92cfa452c1ec3079","skills\u002Fimported\u002Fproductivity\u002Fmd-starter","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS","https:\u002F\u002Fgithub.com\u002Fjonahthan433","AI Consultant","2026-10-24 05:13:39",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jonahthan433\u002FCortexOS --skill md-starter",{"tool":35,"command":36},"bunx","bunx skills add jonahthan433\u002FCortexOS --skill md-starter",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jonahthan433\u002FCortexOS --skill md-starter","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fproductivity\u002Fmd-starter\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"skill.json","REFERENCE","参考文档",575,"https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fproductivity\u002Fmd-starter\u002Fskill.json",[50,56,62,68,74,80],{"skillNo":51,"name":52,"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":53,"categories":54,"keywords":55,"publishedAt":18},"01M7EDQZDQX3Q8Y7GCQX6KN9V7","opportunity-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fsales\u002Fopportunity-brief\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"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":59,"categories":60,"keywords":61,"publishedAt":18},"01M7EDQYA0V9Y99VKBREJJ3MRT","morning-intel","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fmorning-intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"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":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EDQVX1JVY0B6PDHKKGM19G","decision-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fdecision-brief\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"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":71,"categories":72,"keywords":73,"publishedAt":18},"01M7EDQV1GENZAC2SZSD8KZ3GM","weekly-review","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"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":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EDQT2KETJ1Y3CGVN9EKW2J","system-health","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fsystem-health\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"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":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EDQQN2JK3XPWMS1M4T0F3K","backup-restore","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fbackup-restore\u002FSKILL.md",[],[]]