[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78CXH7KYFM59BGGYK6STAGY":3,"skill-same:01M78CXH7KYFM59BGGYK6STAGY":67},{"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":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M78CXH7KYFM59BGGYK6STAGY","code-standards",null,"Review code against CONVENTIONS -- type safety (`any` detection), naming, imports, Next.js patterns, 12-factor. NOT for complexity metrics (use code-quality) or API field alignment (use api-contract).","atretyak1985\u002Fswarmery","atretyak1985","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1436737?v=4","01M78CTSX57YH0EYY9YGH0TWKX","Andrii Tretiak","01M78CTSXRPJPYQ7GNPMP45TYX",8,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Fcore\u002Fskills\u002Fcode-standards\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: code-standards\ndescription: \"Review code against CONVENTIONS -- type safety (`any` detection), naming, imports, Next.js patterns, 12-factor. NOT for complexity metrics (use code-quality) or API field alignment (use api-contract).\"\nversion: \"1.0.0\"\nowner: \"swarmery-core\"\nallowed-tools: Read, Grep, Glob, Bash\ndocs:\n  status: reviewed\n  source_sha: 07f13623e2e2\n  updated: 2026-08-06\n---\n\n# Purpose\n\nReview code against the project's per-repository conventions and return a\nviolation report with `file:line` citations, severities, and before\u002Fafter fixes.\nCovers type safety (`any` detection, annotations), naming, Next.js 15 patterns,\nPython typing and async style, service-config hygiene, and 12-factor\nbuild-once\u002Fdeploy-anywhere rules.\n\n\"Is this function too long or too complex?\" → `code-quality`. \"Does this use\n`any`, follow naming, or comply with framework patterns?\" → here.\n\n# Rules (never violate)\n\n1. Review only — never fix in place; fixes go to `@implementation-agent`.\n2. Every violation cites `file:line` and carries a severity; Critical and High\n   findings include before\u002Fafter code.\n3. `NEXT_PUBLIC_*` is allowed in source, prohibited as a Docker `--build-arg`.\n4. Module-scope `process.env.X` is a violation; lazy access inside a function is not.\n5. Never emit length, nesting, or complexity findings — `code-quality` owns those.\n6. Close the report with the `STANDARDS-VIOLATIONS:` trailer; cap it at 300 lines.\n\n# Resources\n\n- Read `resources\u002Freview-procedure.md` before reviewing: the 8-step procedure,\n  severity criteria, output template, self-check, escalation triggers, failure\n  modes, and a worked example.\n- Read `resources\u002Fchecklists.md` for the rule set matching `repo_type` — web app,\n  device\u002Fedge, service config, and the 12-factor build rules.\n- Read `resources\u002Fsandbox-preflight.md` when the run edits files from a git\n  worktree isolate: one operation per Bash call, and the checks to make before\n  the first read or write.\n\n# How to use\n\n## What it does\n\nChecks code against your conventions and hands back an actionable report: type\nsafety including `any` types, naming, framework patterns, Python type hints and\nasync style, service-config hygiene, and 12-factor build rules — each finding\nwith a citation, a severity, and corrected code for the serious ones.\n\n## When to use it\n\n- TypeScript\u002FNext.js code changed and wants a standards pass before merge.\n- Python device or edge code needs type hints and async patterns verified.\n- A service config changed and needs lint, version bump, and template guards checked.\n- A Dockerfile or CI pipeline changed and needs 12-factor compliance verified.\n\nNot for: length, nesting, or complexity (`code-quality`); schema ↔ handler field\nalignment (`api-contract`); locating files (`code-search`); or applying fixes —\nthis skill reviews and refuses in-place edits.\n\n## How to invoke\n\n```\nSkill(skill: \"core:code-standards\")\nscope: apps\u002F\u003CmainApp>\u002Fsrc\u002Fapp\u002Fapi\u002Forders\u002Froute.ts\nrepo_type: web-app\n```\n\n`scope` and `repo_type` (`web-app` | `device` | `service-config` |\n`infrastructure`) are both required; the matching checklist is selected for you.\n\n## Worked example\n\nThe route above calls `auth()` without `export const dynamic = 'force-dynamic'`\nand annotates a query result `: any`. You get two rows — one Critical, one High —\neach with the line, the offending snippet, the corrected snippet, and:\n\n```\nSTANDARDS-VIOLATIONS: 2 | CRITICAL: 1 | HIGH: 1 | MEDIUM: 0 | LOW: 0\n```\n\nBoth fixes are single-line edits you apply yourself. A file with more than 20\nCritical findings stops the review and asks instead.\n\n## Related\n\n- `code-quality` — length and complexity; composes with this skill as a depth-1\n  fan-out under `@code-reviewer` over the same scope.\n- `api-contract` — field-level alignment across the data layer.\n- `code-search` — run first when the files to review are still unknown.\n","# Purpose\n\nReview code against the project's per-repository conventions and return a\nviolation report with `file:line` citations, severities, and before\u002Fafter fixes.\nCovers type safety (`any` detection, annotations), naming, Next.js 15 patterns,\nPython typing and async style, service-config hygiene, and 12-factor\nbuild-once\u002Fdeploy-anywhere rules.\n\n\"Is this function too long or too complex?\" → `code-quality`. \"Does this use\n`any`, follow naming, or comply with framework patterns?\" → here.\n\n# Rules (never violate)\n\n1. Review only — never fix in place; fixes go to `@implementation-agent`.\n2. Every violation cites `file:line` and carries a severity; Critical and High\n   findings include before\u002Fafter code.\n3. `NEXT_PUBLIC_*` is allowed in source, prohibited as a Docker `--build-arg`.\n4. Module-scope `process.env.X` is a violation; lazy access inside a function is not.\n5. Never emit length, nesting, or complexity findings — `code-quality` owns those.\n6. Close the report with the `STANDARDS-VIOLATIONS:` trailer; cap it at 300 lines.\n\n# Resources\n\n- Read `resources\u002Freview-procedure.md` before reviewing: the 8-step procedure,\n  severity criteria, output template, self-check, escalation triggers, failure\n  modes, and a worked example.\n- Read `resources\u002Fchecklists.md` for the rule set matching `repo_type` — web app,\n  device\u002Fedge, service config, and the 12-factor build rules.\n- Read `resources\u002Fsandbox-preflight.md` when the run edits files from a git\n  worktree isolate: one operation per Bash call, and the checks to make before\n  the first read or write.\n\n# How to use\n\n## What it does\n\nChecks code against your conventions and hands back an actionable report: type\nsafety including `any` types, naming, framework patterns, Python type hints and\nasync style, service-config hygiene, and 12-factor build rules — each finding\nwith a citation, a severity, and corrected code for the serious ones.\n\n## When to use it\n\n- TypeScript\u002FNext.js code changed and wants a standards pass before merge.\n- Python device or edge code needs type hints and async patterns verified.\n- A service config changed and needs lint, version bump, and template guards checked.\n- A Dockerfile or CI pipeline changed and needs 12-factor compliance verified.\n\nNot for: length, nesting, or complexity (`code-quality`); schema ↔ handler field\nalignment (`api-contract`); locating files (`code-search`); or applying fixes —\nthis skill reviews and refuses in-place edits.\n\n## How to invoke\n\n```\nSkill(skill: \"core:code-standards\")\nscope: apps\u002F\u003CmainApp>\u002Fsrc\u002Fapp\u002Fapi\u002Forders\u002Froute.ts\nrepo_type: web-app\n```\n\n`scope` and `repo_type` (`web-app` | `device` | `service-config` |\n`infrastructure`) are both required; the matching checklist is selected for you.\n\n## Worked example\n\nThe route above calls `auth()` without `export const dynamic = 'force-dynamic'`\nand annotates a query result `: any`. You get two rows — one Critical, one High —\neach with the line, the offending snippet, the corrected snippet, and:\n\n```\nSTANDARDS-VIOLATIONS: 2 | CRITICAL: 1 | HIGH: 1 | MEDIUM: 0 | LOW: 0\n```\n\nBoth fixes are single-line edits you apply yourself. A file with more than 20\nCritical findings stops the review and asks instead.\n\n## Related\n\n- `code-quality` — length and complexity; composes with this skill as a depth-1\n  fan-out under `@code-reviewer` over the same scope.\n- `api-contract` — field-level alignment across the data layer.\n- `code-search` — run first when the files to review are still unknown.\n",{"docs":24,"name":5,"owner":28,"version":29,"description":7,"allowed-tools":30},{"status":25,"updated":26,"source_sha":27},"reviewed",1785974400000,"07f13623e2e2","swarmery-core","1.0.0","Read, Grep, Glob, Bash","main","2d9e918cc79c9b17b59356780ff0a3da38a3e98a","plugins\u002Fcore\u002Fskills\u002Fcode-standards",5,"https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery","https:\u002F\u002Fatretyak1985.github.io\u002Fswarmery\u002F","https:\u002F\u002Fgithub.com\u002Fatretyak1985","2026-11-11 04:29:12",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add atretyak1985\u002Fswarmery --skill code-standards",{"tool":45,"command":46},"bunx","bunx skills add atretyak1985\u002Fswarmery --skill code-standards",{"tool":48,"command":49},"pnpm","pnpm dlx skills add atretyak1985\u002Fswarmery --skill code-standards","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Fcore\u002Fskills\u002Fcode-standards\u002FSKILL.md",true,[53,59,63],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"resources\u002Fchecklists.md","REFERENCE","参考文档",4233,"https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Fcore\u002Fskills\u002Fcode-standards\u002Fresources\u002Fchecklists.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"resources\u002Freview-procedure.md",6501,"https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Fcore\u002Fskills\u002Fcode-standards\u002Fresources\u002Freview-procedure.md",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"resources\u002Fsandbox-preflight.md",2474,"https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Fcore\u002Fskills\u002Fcode-standards\u002Fresources\u002Fsandbox-preflight.md",[68,75,81,88,95,102],{"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},"01M78D4T1FFWFW19Z44AHH5BSY","short-desc","Too short.","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fshort-desc\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M78D4S0TWT42WXFJHC1DBN0R","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fno-frontmatter\u002FSKILL.md",[],[],{"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":19},"01M78D4Q14P8DJ4W78N62F3EG2","global-skill","Fixture global skill (minimal user-scope shape, format doc §2.3).","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fglobal-skill\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":19},"01M78D4N1JHGQJQ7EZ43KY5SV3","documented-skill","Fixture skill whose usage guide deliberately omits the Worked example subsection.","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fdocumented-skill\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":19},"01M78D4KVNZ03GBKGDFJZWW5FJ","z","NOT auto-discovered — only skills\u002F is scanned for plugins (§2.2).","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fplugins\u002Fcache\u002Fmkt\u002Ftoolpack\u002F1.0.0\u002Fworkflow-skills\u002Fz\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":19},"01M78D4JMBRZWK51HFE5RZJGHC","y","Plugin skill y from toolpack — stored as \"toolpack:y\".","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fplugins\u002Fcache\u002Fmkt\u002Ftoolpack\u002F1.0.0\u002Fskills\u002Fy\u002FSKILL.md",[],[]]