[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71W3E2MBK36K8CCDT8V2704":3,"skill-same:01M71W3E2MBK36K8CCDT8V2704":72},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":14,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M71W3E2MBK36K8CCDT8V2704","fta-code-quality",null,"Use Fast TypeScript Analyzer (FTA) to assess maintainability and catch complexity problems in TypeScript or JavaScript code.","itlackey\u002Fakm-eval","itlackey","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6414031?v=4","01M6D08NHES2CPRGY5HCPJECD6","IT Lackey","01M71W0ZJQ3686SNJSCQZM3X4E",0,"MPL-2.0","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fcorpus\u002Flibrary\u002Fskills\u002Fcoding\u002Ffta-code-quality\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"fta code quality","code quality","code","quality","complexity","2026","when","catch","maintainable code","for","you","add","simplification","review","code-quality","refactor","ci","cleanup","quality gate","typescript","2026-11-10 13:02:02",false,"---\nname: fta-code-quality\ndescription: Use Fast TypeScript Analyzer (FTA) to assess maintainability and\n  catch complexity problems in TypeScript or JavaScript code.\nwhen_to_use: '\"Use this skill when the task involves TypeScript or JavaScript\n  and any of these are true: the user wants high quality or maintainable code;\n  the user asks for a review, refactor, cleanup, or simplification; you made\n  meaningful TS\u002FJS changes and want a complexity check before finishing; the\n  user wants to add or tune a code-quality gate in CI.\"'\nupdated: 2026-05-11\n---\n\n# FTA Code Quality\n\nUse Fast TypeScript Analyzer from `https:\u002F\u002Fftaproject.dev\u002F` to measure maintainability in TypeScript and JavaScript code.\n\nFTA is useful because it gives a quick, objective signal about files that are getting too large or too complex to maintain comfortably. Treat it as decision support for refactoring, not as a substitute for judgment.\n\n## When to use this skill\n\nUse this skill when the task involves TypeScript or JavaScript and any of these are true:\n\n- the user wants high quality or maintainable code\n- the user asks for a review, refactor, cleanup, or simplification\n- you made meaningful TS\u002FJS changes and want a complexity check before finishing\n- the user wants to add or tune a code-quality gate in CI\n\nDo not use this as the only quality signal. Combine it with tests, linting, type-checking, and code review reasoning.\n\n## Core workflow\n\n1. Identify the relevant scope.\n   - Prefer the changed files, the target package, or the directory the user is working in.\n   - Avoid running FTA across a huge unrelated codebase unless the user asked for repo-wide analysis.\n\n2. Run FTA.\n   - For a quick one-off analysis, use:\n\n```bash\nnpx -y fta-cli \u003Cpath> --json\n```\n\n   - If table output is easier for the current task, use:\n\n```bash\nnpx -y fta-cli \u003Cpath>\n```\n\n3. Read the results and focus on the worst files first.\n   - Lower score is better.\n   - `> 60` usually means `Needs improvement`.\n   - `50-60` usually means `Could be better`.\n   - `\u003C 50` is usually `OK`.\n\n4. Turn the findings into action.\n   - Look for large files, high branching, overly dense modules, and mixed responsibilities.\n   - Suggest or make refactors that reduce concentrated complexity rather than gaming the score.\n\n5. Re-run FTA after meaningful refactors.\n   - Show whether the score improved and explain why.\n\n## How to interpret FTA well\n\n- FTA combines lines of code, cyclomatic complexity, and Halstead-derived complexity into an aggregate maintainability score.\n- A high score is a smell, not an automatic failure.\n- Prefer structural improvements such as splitting modules, simplifying control flow, reducing nesting, and extracting focused helpers.\n- Avoid cosmetic changes that move code around without reducing actual complexity.\n\n## Recommended patterns\n\n### For a changed package or app\n\n```bash\nnpx -y fta-cli .\u002Fpackages\u002Fmy-package --json\n```\n\n### For CI-style gating\n\nUse a project `fta.json` with a `score_cap` so overly complex files fail the check.\n\nExample:\n\n```json\n{\n  \"score_cap\": 90,\n  \"exclude_directories\": [\"__fixtures__\"],\n  \"exclude_filenames\": [\"*.test.{ts,tsx}\"],\n  \"include_comments\": false,\n  \"exclude_under\": 10\n}\n```\n\nThen run:\n\n```bash\nnpx -y fta-cli \u003Cpath>\n```\n\n## Output expectations\n\nWhen using FTA for a user task, report:\n\n- what scope you analyzed\n- the highest-risk files and their scores\n- what the scores suggest in plain English\n- the concrete refactors you made or recommend\n- whether a follow-up FTA run improved the result\n\n## Report template\n\nUse a compact structure like this:\n\n```text\nFTA review for \u003Cscope>\n- Worst file: \u003Cpath> (\u003Cscore>, \u003Cassessment>)\n- Main issue: \u003Cwhy it is hard to maintain>\n- Action: \u003Crefactor performed or recommended>\n- Result after changes: \u003Cnew score or pending verification>\n```\n\n## Reference material\n\nFor thresholds, interpretation, and config details, read `references\u002Ffta-reference.md`.\n","# FTA Code Quality\n\nUse Fast TypeScript Analyzer from `https:\u002F\u002Fftaproject.dev\u002F` to measure maintainability in TypeScript and JavaScript code.\n\nFTA is useful because it gives a quick, objective signal about files that are getting too large or too complex to maintain comfortably. Treat it as decision support for refactoring, not as a substitute for judgment.\n\n## When to use this skill\n\nUse this skill when the task involves TypeScript or JavaScript and any of these are true:\n\n- the user wants high quality or maintainable code\n- the user asks for a review, refactor, cleanup, or simplification\n- you made meaningful TS\u002FJS changes and want a complexity check before finishing\n- the user wants to add or tune a code-quality gate in CI\n\nDo not use this as the only quality signal. Combine it with tests, linting, type-checking, and code review reasoning.\n\n## Core workflow\n\n1. Identify the relevant scope.\n   - Prefer the changed files, the target package, or the directory the user is working in.\n   - Avoid running FTA across a huge unrelated codebase unless the user asked for repo-wide analysis.\n\n2. Run FTA.\n   - For a quick one-off analysis, use:\n\n```bash\nnpx -y fta-cli \u003Cpath> --json\n```\n\n   - If table output is easier for the current task, use:\n\n```bash\nnpx -y fta-cli \u003Cpath>\n```\n\n3. Read the results and focus on the worst files first.\n   - Lower score is better.\n   - `> 60` usually means `Needs improvement`.\n   - `50-60` usually means `Could be better`.\n   - `\u003C 50` is usually `OK`.\n\n4. Turn the findings into action.\n   - Look for large files, high branching, overly dense modules, and mixed responsibilities.\n   - Suggest or make refactors that reduce concentrated complexity rather than gaming the score.\n\n5. Re-run FTA after meaningful refactors.\n   - Show whether the score improved and explain why.\n\n## How to interpret FTA well\n\n- FTA combines lines of code, cyclomatic complexity, and Halstead-derived complexity into an aggregate maintainability score.\n- A high score is a smell, not an automatic failure.\n- Prefer structural improvements such as splitting modules, simplifying control flow, reducing nesting, and extracting focused helpers.\n- Avoid cosmetic changes that move code around without reducing actual complexity.\n\n## Recommended patterns\n\n### For a changed package or app\n\n```bash\nnpx -y fta-cli .\u002Fpackages\u002Fmy-package --json\n```\n\n### For CI-style gating\n\nUse a project `fta.json` with a `score_cap` so overly complex files fail the check.\n\nExample:\n\n```json\n{\n  \"score_cap\": 90,\n  \"exclude_directories\": [\"__fixtures__\"],\n  \"exclude_filenames\": [\"*.test.{ts,tsx}\"],\n  \"include_comments\": false,\n  \"exclude_under\": 10\n}\n```\n\nThen run:\n\n```bash\nnpx -y fta-cli \u003Cpath>\n```\n\n## Output expectations\n\nWhen using FTA for a user task, report:\n\n- what scope you analyzed\n- the highest-risk files and their scores\n- what the scores suggest in plain English\n- the concrete refactors you made or recommend\n- whether a follow-up FTA run improved the result\n\n## Report template\n\nUse a compact structure like this:\n\n```text\nFTA review for \u003Cscope>\n- Worst file: \u003Cpath> (\u003Cscore>, \u003Cassessment>)\n- Main issue: \u003Cwhy it is hard to maintain>\n- Action: \u003Crefactor performed or recommended>\n- Result after changes: \u003Cnew score or pending verification>\n```\n\n## Reference material\n\nFor thresholds, interpretation, and config details, read `references\u002Ffta-reference.md`.\n",{"name":5,"updated":44,"description":7,"when_to_use":45},1778457600000,"\"Use this skill when the task involves TypeScript or JavaScript and any of these are true: the user wants high quality or maintainable code; the user asks for a review, refactor, cleanup, or simplification; you made meaningful TS\u002FJS changes and want a complexity check before finishing; the user wants to add or tune a code-quality gate in CI.\"","main","b293a8475fcbb20683373dc9735a2ecf0ca7889d","corpus\u002Flibrary\u002Fskills\u002Fcoding\u002Ffta-code-quality","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval","https:\u002F\u002Fgithub.com\u002Fitlackey","2026-11-13 11:49:12",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add itlackey\u002Fakm-eval --skill fta-code-quality",{"tool":58,"command":59},"bunx","bunx skills add itlackey\u002Fakm-eval --skill fta-code-quality",{"tool":61,"command":62},"pnpm","pnpm dlx skills add itlackey\u002Fakm-eval --skill fta-code-quality","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fcorpus\u002Flibrary\u002Fskills\u002Fcoding\u002Ffta-code-quality\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Ffta-reference.md","REFERENCE","参考文档",2351,"https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fcorpus\u002Flibrary\u002Fskills\u002Fcoding\u002Ffta-code-quality\u002Freferences\u002Ffta-reference.md",[73,81,88,95,102,109],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M748G6310YQEN9SEY8E69V7F","tax-filing-checklist","Walk through the steps and documents needed to file an individual federal income tax return","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Ftax-filing-checklist\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":80},"01M748G3C1CSMBM33KP2CCK7TB","patient-vitals-charting","Record patient vital signs consistently and flag values outside the normal reference range","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fpatient-vitals-charting\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":80},"01M748G05H68QFB8YVQKDHF66B","pasta-from-scratch","Make fresh egg pasta dough from scratch, roll it, and cut it into shapes","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fpasta-from-scratch\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":80},"01M748FXAQVJRX98HP8STRTD9P","knife-sharpening","Sharpen and hone kitchen knives to keep an edge safe and effective","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fknife-sharpening\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":80},"01M748FTJEZ0P6BXNERTHZ9KB3","first-aid-response","Respond to a first aid emergency using a scene-safety-first, ABC-based (airway, breathing, circulation) approach","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Ffirst-aid-response\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":80},"01M748FQESZPA3ZW5SWKJNKMD0","contract-review-basics","Review a contract draft for missing terms, ambiguous language, and risky clauses before signing","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fcontract-review-basics\u002FSKILL.md",[],[]]