[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EW8F69YN5RZEKXK910Y99W":3,"skill-same:01M7EW8F69YN5RZEKXK910Y99W":53},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M7EW8F69YN5RZEKXK910Y99W","suggest-tests",null,"Suggest tests you should write based on your code. Uses AST parsing to find functions and suggests tests based on code patterns. Use when writing new code or modifying existing code.","varun-singhh\u002Flfg","varun-singhh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47475007?v=4","01M7EW56BZPRBG0ERQ2335ENA4","Varun Singh","01M7EW56CH2J3RJNQ36E8RX61F",10,"MIT","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fsuggest-tests\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: suggest-tests\ndescription: >\n  Suggest tests you should write based on your code.\n  Uses AST parsing to find functions and suggests tests based on code patterns.\n  Use when writing new code or modifying existing code.\nauthor: Varun Singh\nphase: build\nlanes: [standard, full]\nreads: [git]\nwrites: []\nauto-trigger: false\n---\n\n## Steps\n\n1. **Run test suggester engine**:\n   ```bash\n   lfg suggest-tests \u003Cfile> --json\n   ```\n\n   This engine is a heuristic first pass based on function signatures and code patterns. It is not a substitute for actual coverage analysis.\n\n2. **Review and present suggestions**:\n   - `functions`: public functions\u002Fclasses found (private ones skipped unless that's all there is)\n   - `suggested_tests`: each has `test_name`, `priority` (1-3), `category`, `reason` (e.g., \"Found 'return None' in function\")\n   - `related_tests`: existing test files that import or match the module name\n   - `priority_summary`: counts by priority\n\n3. **No coverage estimate**: There is no \"coverage improvement estimate\" key or line - we can't measure coverage from static analysis alone.\n\n## Output\n\n- List of functions and classes found\n- Suggested tests with priority and concrete reason (e.g., \"returns None when fetch fails\" from `return None` in code)\n- Related existing test files (so the user knows where to add)\n- Priority summary: must have, should have, nice to have\n\n## Rules\n\n- Skip private (leading `_`) functions\u002Fclasses unless they're the only ones.\n- Test names should hint at the branch\u002Fedge: `test_\u003Cfunc>_returns_none_when_appropriate` not just `test_\u003Cfunc>_valid_input`.\n- Reasons come from the code: `return None`, `raise X`, `if not x`, comparisons, loops.\n- Drop the \"coverage improvement estimate\" entirely - we can't measure it.\n- **Important**: This is a heuristic engine. Verify each suggestion makes sense for the code before recommending it.\n","## Steps\n\n1. **Run test suggester engine**:\n   ```bash\n   lfg suggest-tests \u003Cfile> --json\n   ```\n\n   This engine is a heuristic first pass based on function signatures and code patterns. It is not a substitute for actual coverage analysis.\n\n2. **Review and present suggestions**:\n   - `functions`: public functions\u002Fclasses found (private ones skipped unless that's all there is)\n   - `suggested_tests`: each has `test_name`, `priority` (1-3), `category`, `reason` (e.g., \"Found 'return None' in function\")\n   - `related_tests`: existing test files that import or match the module name\n   - `priority_summary`: counts by priority\n\n3. **No coverage estimate**: There is no \"coverage improvement estimate\" key or line - we can't measure coverage from static analysis alone.\n\n## Output\n\n- List of functions and classes found\n- Suggested tests with priority and concrete reason (e.g., \"returns None when fetch fails\" from `return None` in code)\n- Related existing test files (so the user knows where to add)\n- Priority summary: must have, should have, nice to have\n\n## Rules\n\n- Skip private (leading `_`) functions\u002Fclasses unless they're the only ones.\n- Test names should hint at the branch\u002Fedge: `test_\u003Cfunc>_returns_none_when_appropriate` not just `test_\u003Cfunc>_valid_input`.\n- Reasons come from the code: `return None`, `raise X`, `if not x`, comparisons, loops.\n- Drop the \"coverage improvement estimate\" entirely - we can't measure it.\n- **Important**: This is a heuristic engine. Verify each suggestion makes sense for the code before recommending it.\n",{"name":5,"lanes":24,"phase":27,"reads":28,"author":12,"writes":30,"description":31,"auto-trigger":20},[25,26],"standard","full","build",[29],"git",[],"Suggest tests you should write based on your code. Uses AST parsing to find functions and suggests tests based on code patterns. Use when writing new code or modifying existing code.\n","main","a96f05bb9ac611c9f782ae172978527ae88a0e2a","plugin\u002Fskills\u002Fsuggest-tests",3,"https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg","https:\u002F\u002Fgithub.com\u002Fvarun-singhh","2026-10-26 09:46:56",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add varun-singhh\u002Flfg --skill suggest-tests",{"tool":45,"command":46},"bunx","bunx skills add varun-singhh\u002Flfg --skill suggest-tests",{"tool":48,"command":49},"pnpm","pnpm dlx skills add varun-singhh\u002Flfg --skill suggest-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fsuggest-tests\u002FSKILL.md",true,[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7EW8S36ZEV45CNQHPXEYMBQ","wizard","Guided start-to-finish run of the whole pipeline on an idea or a Linear issue. Runs every stage (grill, plan, build, check, secure, pentest, review, ship check, ship packet, learn), explains each one in plain words before and after, and loops failures through \u002Ffix until all 8 gates are green (max 3 loops per gate). Use when the user types \"\u002Fwizard \u003Cidea>\", \"\u002Fwizard LIN-123\", \"\u002Fwizard resume\", \"walk me through everything\", \"do every step and explain it\". Explicit only; never auto-triggered.","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7EW8N8AK16QK833BM7RPRG1","why","Explains why code looks the way it does: the commits that shaped a file, a function or a few lines, what each one changed and why, and the issues, tickets and pull requests they mention. Use when the user asks \"why is this here?\", \"why was this changed?\", \"who added this and what for?\", \"what's the story behind X?\", or is about to change code they don't understand.","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7EW8J137JBC7PG1RFGEWE5R","which","Looks at graph status, the current run folder, git status and Linear, then tells you the single next skill to run and why. Use when the user says \"which skill do I use?\", \"what now?\", \"what next?\", \"where was I?\", \"I'm lost\", or starts a session without saying what they want.","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fwhich\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7EW89W1RXBHYWP5KYDWFKT5","spike","Builds a throwaway prototype to answer one design question, in a scratch folder inside the run folder, then deletes it and keeps only the conclusion. Use when the user says \"try a quick prototype\", \"would this approach work?\", \"spike this\", \"let me feel this state model\", \"show me a few UI options\", or when a plan has an open question that a cheap working artifact would settle.","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fspike\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7EW84HQB6X33R0PGSZCNDDV","ship","Proves the change is shippable and hands it to you: re-runs the green gate, runs the ship check (Docker build, scan, run, smoke test, delete, verify cleanup) and the shipping checklist, then writes COMMIT_MSG.md and PR_BODY.md. Never commits, pushes or deploys. Use when the user says \"ship it\", \"ready for a PR\", \"prep the commit\", \"is it shippable?\".","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fship\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7EW7YGNZJQCAFX1J91KACDX","secure","Full security and vulnerability check on anything new: packages, URLs, container images, CI actions, AI models, MCP servers, plus security-sensitive code. Uses local scanners and online vulnerability intelligence (public metadata only), and reviews security-sensitive code with Cloudflare's security-audit method. Use when the user asks \"is this safe?\", \"can I add \u003Cpackage>?\", \"check this URL\", \"scan for vulnerabilities\", or when a diff adds or changes a dependency, URL, image, action, model or security-sensitive code. `\u002Fsecure audit` runs Cloudflare's full six-phase audit, only when the user types it.","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fsecure\u002FSKILL.md",[],[]]