[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CT5ZBBQ1NE787YQZR9TYSV":3,"skill-same:01M6CT5ZBBQ1NE787YQZR9TYSV":113},{"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":23,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6CT5ZBBQ1NE787YQZR9TYSV","code-simplifier",null,"Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to \"simplify code\", \"clean up code\", \"refactor for clarity\", \"improve readability\", or review recently modified code for elegance. Focuses on project-specific best practices.","thedaviddias\u002Fai-vs-human","thedaviddias","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237229?v=4","01M6CT5P9WB8TP86JZM77HECAD","David Dias","01M6CT5PEB7XQME6EREJ33SQDV",8,"MIT","https:\u002F\u002Fgithub.com\u002Fthedaviddias\u002Fai-vs-human\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fcode-simplifier\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35],"code","code simplifier","review","best practices","refactor","simplify","improve","clarity","use","up","simplify code","clean","2026-11-10 10:12:30",false,"---\nname: code-simplifier\ndescription: Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to \"simplify code\", \"clean up code\", \"refactor for clarity\", \"improve readability\", or review recently modified code for elegance. Focuses on project-specific best practices.\n---\n\n\u003C!--\nBased on Anthropic's code-simplifier agent:\nhttps:\u002F\u002Fgithub.com\u002Fanthropics\u002Fclaude-plugins-official\u002Fblob\u002Fmain\u002Fplugins\u002Fcode-simplifier\u002Fagents\u002Fcode-simplifier.md\n-->\n\n# Code Simplifier\n\nYou are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions.\n\n## Refinement Principles\n\n### 1. Preserve Functionality\n\nNever change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.\n\n### 2. Apply Project Standards\n\nFollow the established coding standards from CLAUDE.md including:\n\n- Use ES modules with proper import sorting and extensions\n- Prefer `function` keyword over arrow functions\n- Use explicit return type annotations for top-level functions\n- Follow proper React component patterns with explicit Props types\n- Use proper error handling patterns (avoid try\u002Fcatch when possible)\n- Maintain consistent naming conventions\n\n### 3. Enhance Clarity\n\nSimplify code structure by:\n\n- Reducing unnecessary complexity and nesting\n- Eliminating redundant code and abstractions\n- Improving readability through clear variable and function names\n- Consolidating related logic\n- Removing unnecessary comments that describe obvious code\n- **Avoiding nested ternary operators** - prefer switch statements or if\u002Felse chains for multiple conditions\n- Choosing clarity over brevity - explicit code is often better than overly compact code\n\n### 4. Maintain Balance\n\nAvoid over-simplification that could:\n\n- Reduce code clarity or maintainability\n- Create overly clever solutions that are hard to understand\n- Combine too many concerns into single functions or components\n- Remove helpful abstractions that improve code organization\n- Prioritize \"fewer lines\" over readability (e.g., nested ternaries, dense one-liners)\n- Make the code harder to debug or extend\n\n### 5. Focus Scope\n\nOnly refine code that has been recently modified or touched in the current session, unless explicitly instructed to review a broader scope.\n\n## Refinement Process\n\n1. **Identify** the recently modified code sections\n2. **Analyze** for opportunities to improve elegance and consistency\n3. **Apply** project-specific best practices and coding standards\n4. **Ensure** all functionality remains unchanged\n5. **Verify** the refined code is simpler and more maintainable\n6. **Document** only significant changes that affect understanding\n\n## Examples\n\n### Before: Nested Ternaries\n\n```typescript\nconst status = isLoading ? 'loading' : hasError ? 'error' : isComplete ? 'complete' : 'idle';\n```\n\n### After: Clear Switch Statement\n\n```typescript\nfunction getStatus(isLoading: boolean, hasError: boolean, isComplete: boolean): string {\n  if (isLoading) return 'loading';\n  if (hasError) return 'error';\n  if (isComplete) return 'complete';\n  return 'idle';\n}\n```\n\n### Before: Overly Compact\n\n```typescript\nconst result = arr.filter(x => x > 0).map(x => x * 2).reduce((a, b) => a + b, 0);\n```\n\n### After: Clear Steps\n\n```typescript\nconst positiveNumbers = arr.filter(x => x > 0);\nconst doubled = positiveNumbers.map(x => x * 2);\nconst sum = doubled.reduce((a, b) => a + b, 0);\n```\n\n### Before: Redundant Abstraction\n\n```typescript\nfunction isNotEmpty(arr: unknown[]): boolean {\n  return arr.length > 0;\n}\n\nif (isNotEmpty(items)) {\n  \u002F\u002F ...\n}\n```\n\n### After: Direct Check\n\n```typescript\nif (items.length > 0) {\n  \u002F\u002F ...\n}\n```\n","\u003C!--\nBased on Anthropic's code-simplifier agent:\nhttps:\u002F\u002Fgithub.com\u002Fanthropics\u002Fclaude-plugins-official\u002Fblob\u002Fmain\u002Fplugins\u002Fcode-simplifier\u002Fagents\u002Fcode-simplifier.md\n-->\n\n# Code Simplifier\n\nYou are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions.\n\n## Refinement Principles\n\n### 1. Preserve Functionality\n\nNever change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.\n\n### 2. Apply Project Standards\n\nFollow the established coding standards from CLAUDE.md including:\n\n- Use ES modules with proper import sorting and extensions\n- Prefer `function` keyword over arrow functions\n- Use explicit return type annotations for top-level functions\n- Follow proper React component patterns with explicit Props types\n- Use proper error handling patterns (avoid try\u002Fcatch when possible)\n- Maintain consistent naming conventions\n\n### 3. Enhance Clarity\n\nSimplify code structure by:\n\n- Reducing unnecessary complexity and nesting\n- Eliminating redundant code and abstractions\n- Improving readability through clear variable and function names\n- Consolidating related logic\n- Removing unnecessary comments that describe obvious code\n- **Avoiding nested ternary operators** - prefer switch statements or if\u002Felse chains for multiple conditions\n- Choosing clarity over brevity - explicit code is often better than overly compact code\n\n### 4. Maintain Balance\n\nAvoid over-simplification that could:\n\n- Reduce code clarity or maintainability\n- Create overly clever solutions that are hard to understand\n- Combine too many concerns into single functions or components\n- Remove helpful abstractions that improve code organization\n- Prioritize \"fewer lines\" over readability (e.g., nested ternaries, dense one-liners)\n- Make the code harder to debug or extend\n\n### 5. Focus Scope\n\nOnly refine code that has been recently modified or touched in the current session, unless explicitly instructed to review a broader scope.\n\n## Refinement Process\n\n1. **Identify** the recently modified code sections\n2. **Analyze** for opportunities to improve elegance and consistency\n3. **Apply** project-specific best practices and coding standards\n4. **Ensure** all functionality remains unchanged\n5. **Verify** the refined code is simpler and more maintainable\n6. **Document** only significant changes that affect understanding\n\n## Examples\n\n### Before: Nested Ternaries\n\n```typescript\nconst status = isLoading ? 'loading' : hasError ? 'error' : isComplete ? 'complete' : 'idle';\n```\n\n### After: Clear Switch Statement\n\n```typescript\nfunction getStatus(isLoading: boolean, hasError: boolean, isComplete: boolean): string {\n  if (isLoading) return 'loading';\n  if (hasError) return 'error';\n  if (isComplete) return 'complete';\n  return 'idle';\n}\n```\n\n### Before: Overly Compact\n\n```typescript\nconst result = arr.filter(x => x > 0).map(x => x * 2).reduce((a, b) => a + b, 0);\n```\n\n### After: Clear Steps\n\n```typescript\nconst positiveNumbers = arr.filter(x => x > 0);\nconst doubled = positiveNumbers.map(x => x * 2);\nconst sum = doubled.reduce((a, b) => a + b, 0);\n```\n\n### Before: Redundant Abstraction\n\n```typescript\nfunction isNotEmpty(arr: unknown[]): boolean {\n  return arr.length > 0;\n}\n\nif (isNotEmpty(items)) {\n  \u002F\u002F ...\n}\n```\n\n### After: Direct Check\n\n```typescript\nif (items.length > 0) {\n  \u002F\u002F ...\n}\n```\n",{"name":5,"description":7},"main","eb192df16e465f9daf3b27c980685cacff9b0db2",".codex\u002Fskills\u002Fcode-simplifier",1,"https:\u002F\u002Fgithub.com\u002Fthedaviddias\u002Fai-vs-human","https:\u002F\u002Faivshuman.dev\u002F","https:\u002F\u002Fgithub.com\u002Fthedaviddias","https:\u002F\u002Fthedaviddias.com","Staff Front-End Engineer | Front-End Architecture, Design Systems & Accessibility | Creator of the Front-End Checklist (74K+ ⭐) and serving 100K+ devs","2026-06-02 08:06:36",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add thedaviddias\u002Fai-vs-human --skill code-simplifier",{"tool":57,"command":58},"bunx","bunx skills add thedaviddias\u002Fai-vs-human --skill code-simplifier",{"tool":60,"command":61},"pnpm","pnpm dlx skills add thedaviddias\u002Fai-vs-human --skill code-simplifier","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthedaviddias\u002Fai-vs-human\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fcode-simplifier\u002FSKILL.md",true,[65,71,75,79,83,87,91,95,99,103,107],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fconformance-harnesses.md","REFERENCE","参考文档",2108,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Freferences\u002Fconformance-harnesses.md",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Ferror-recovery.md",3115,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Freferences\u002Ferror-recovery.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fexploratory-qa.md",6169,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Freferences\u002Fexploratory-qa.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Ffuzzing.md",1713,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Freferences\u002Ffuzzing.md",{"path":84,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fgolden-artifacts.md",2570,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Freferences\u002Fgolden-artifacts.md",{"path":88,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fmetamorphic-testing.md",1982,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Freferences\u002Fmetamorphic-testing.md",{"path":92,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fproof-fidelity.md",4303,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Freferences\u002Fproof-fidelity.md",{"path":96,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Freal-service-e2e.md",2075,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Freferences\u002Freal-service-e2e.md",{"path":100,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fsubject-performance.md",6731,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Freferences\u002Fsubject-performance.md",{"path":104,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fsuite-audit.md",5194,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Freferences\u002Fsuite-audit.md",{"path":108,"resourceType":109,"resourceTypeDesc":110,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Fvalidate.sh","SCRIPT","脚本",2969,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fboshu2\u002Fagentops\u002Fskills\u002Ftest\u002Fscripts\u002Fvalidate.sh",[114,128,151,171,188,206],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":125,"publishedAt":36},"01M6CT6FQSPB42F03BSD7SHCNA","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002Fthedaviddias\u002Fai-vs-human\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Ftemplate-skill\u002FSKILL.md",[120],{"categoryNo":121,"categoryName":122,"taxonomyType":123,"taxonomyTypeDesc":124},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[126,127,32],"template","template skill",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":137,"publishedAt":36},"01M6CT6CAHAHN57WV7XXW5TZQZ","tdd-methodoly-expert","Use when implementing features or fixing bugs with strict Test-Driven Development (TDD). Activate for coding tasks that require new functionality, refactoring, or comprehensive test coverage, especially when the user mentions TDD or Test Driven Development.","https:\u002F\u002Fgithub.com\u002Fthedaviddias\u002Fai-vs-human\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Ftdd-methodoly-expert\u002FSKILL.md",[134],{"categoryNo":135,"categoryName":136,"taxonomyType":123,"taxonomyTypeDesc":124},"01JBSEEDCAT000000000000008","测试与质量",[138,139,140,141,142,143,144,145,146,147,148,149,32,150],"tdd","expert","tdd methodoly expert","activate","test","test driven development","tasks","development","refactoring","coding","user","coverage","test coverage",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":36},"01M6CT650P46N57G6329QAG2WJ","github-gh","Interact with GitHub using the `gh` CLI. Use when managing issues, PRs, workflow runs, or advanced API queries via `gh issue`, `gh pr`, `gh run`, and `gh api`.","https:\u002F\u002Fgithub.com\u002Fthedaviddias\u002Fai-vs-human\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fgithub-gh\u002FSKILL.md",[],[158,159,160,161,162,163,164,165,166,32,167,168,169,170],"github gh","github","gh","pr","gh pr","api","gh issue","issues","run","workflow","cli","issue","queries",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":36},"01M6CT62H9XCCBA0DDWH9SH309","find-bugs","Find bugs, security vulnerabilities, and code quality issues in local branch changes. Use when asked to review changes, find bugs, security review, or audit code on the current branch.","https:\u002F\u002Fgithub.com\u002Fthedaviddias\u002Fai-vs-human\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Ffind-bugs\u002FSKILL.md",[],[178,179,32,180,181,165,182,24,183,184,185,186,26,187],"find bugs","find","branch","quality","review changes","security review","code quality","vulnerabilities","security","audit",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":197,"publishedAt":36},"01M6CT5WC1403XCHV8PS0AND5Z","brainstorming","Use when starting creative work (features, components, functionality, or behavior changes) to clarify user intent, requirements, and design before implementation.","https:\u002F\u002Fgithub.com\u002Fthedaviddias\u002Fai-vs-human\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fbrainstorming\u002FSKILL.md",[194],{"categoryNo":195,"categoryName":196,"taxonomyType":123,"taxonomyTypeDesc":124},"01JBSEEDCAT000000000000015","视觉设计",[190,198,199,200,201,32,148,202,203,204,205],"design","intent","implementation","creative","behavior","clarify","work","components",{"skillNo":207,"name":208,"nameZh":6,"description":209,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":210,"categories":211,"keywords":214,"publishedAt":36},"01M6CT5REKWY6WQ83MBQ3QGBJ5","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002Fthedaviddias\u002Fai-vs-human\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fagent-browser\u002FSKILL.md",[212,213],{"categoryNo":135,"categoryName":136,"taxonomyType":123,"taxonomyTypeDesc":124},{"categoryNo":121,"categoryName":122,"taxonomyType":123,"taxonomyTypeDesc":124},[215,216,217,218,54,219,32,220,221,222,223,224,225,226,227,228,229,168,230,231],"agent browser","browser","scrape","forms","take","page","automate","Bash","open","data","actions","website","screenshot","ai agents","browser automation","screenshots","testing"]