[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D7SEW77SB1SW4QXD3HA1H3":3,"skill-same:01M6D7SEW77SB1SW4QXD3HA1H3":144},{"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":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6D7SEW77SB1SW4QXD3HA1H3","slim-audit",null,"Audit codebase for opportunities to reduce lines of code while preserving functionality, performance, and quality","GeorgeQLe\u002Fagentic-skills","GeorgeQLe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21134126?v=4","01M6D2JP418S0VGJGF8M93EC3H","George Le","01M6D2JPBAKYD82TA5FS6HKQ3D",1,"MIT","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcode-review\u002Fclaude\u002Fslim-audit\u002Farchive\u002Fv0.0\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"audit","slim audit","directory","performance","code","package","file","analysis","quality","v0","2026-11-10 10:12:30",false,"---\nname: slim-audit\ndescription: Audit codebase for opportunities to reduce lines of code while preserving functionality, performance, and quality\ntype: analysis\nversion: v0.0\nargument-hint: \"[optional: specific package, directory, or file to scope the audit]\"\n---\n\n# Slim Audit\n\nAudit the codebase, documentation, and specs to identify concrete opportunities to reduce lines of code while maintaining or improving functionality, performance, and code quality. Outputs a prioritized reduction plan with estimated LOC savings.\n\n## Process\n\n1. **Gather project context:**\n   - Read `CLAUDE.md`, `README.md`, and project config files to understand conventions, architecture, and constraints.\n   - Search for and read project documentation: specs (`specs\u002F`, `spec.md`, `docs\u002F`), changelogs (`CHANGELOG.md`, `tasks\u002Fhistory.md`), ADRs, and design docs.\n   - Read `tasks\u002Froadmap.md`, `tasks\u002Ftodo.md`, `tasks\u002Fmanual-todo.md`, `tasks\u002Frecord-todo.md`, and `tasks\u002Frecurring-todo.md` if they exist to understand in-progress and advisory work.\n   - Build a mental model of **intentional decisions** — patterns, trade-offs, and constraints the team has deliberately chosen.\n\n2. **Determine scope:**\n   - If `$ARGUMENTS` specifies a package, directory, or file, scope the audit there.\n   - Otherwise, audit the entire project (or all packages in a monorepo).\n\n3. **Analyze for reduction opportunities across these categories:**\n\n   **a. Duplicate and near-duplicate code:**\n   - Identify code blocks that are identical or structurally similar (same logic, different names\u002Fvalues).\n   - Flag copy-paste patterns across files that could be consolidated into a shared function or module.\n   - Look for repeated patterns in tests that could use shared fixtures, helpers, or parameterized tests.\n\n   **b. Over-abstraction and unnecessary indirection:**\n   - Wrapper functions\u002Fclasses that add no logic — they just forward calls to an inner implementation.\n   - Adapter or facade layers with a single consumer that could be inlined.\n   - Abstract base classes or interfaces implemented by only one concrete class.\n   - Factory patterns where a direct constructor or function call would suffice.\n   - Middleware or decorator chains that could be collapsed.\n\n   **c. Verbose patterns with idiomatic alternatives:**\n   - Manual loops that could be replaced by built-in array\u002Fcollection methods (`map`, `filter`, `reduce`).\n   - Verbose null\u002Fundefined checks that could use optional chaining, nullish coalescing, or pattern matching.\n   - Hand-rolled utility functions that duplicate standard library or already-imported dependency functionality.\n   - Explicit type definitions that could be inferred by the compiler\u002Fruntime.\n   - Verbose error handling patterns that could use a shared error handler or middleware.\n\n   **d. Redundant logic:**\n   - Validation or guard checks already performed upstream (caller validates, callee re-validates).\n   - Dead branches in conditionals — conditions that are always true\u002Ffalse given the surrounding code.\n   - Redundant type conversions or serialization round-trips.\n   - Configuration or initialization code that duplicates framework defaults.\n\n   **e. Hand-rolled implementations replaceable by dependencies:**\n   - Custom implementations of functionality provided by an already-imported library (e.g., hand-rolled date formatting when `date-fns` is already in `package.json`).\n   - Utility code that reimplements well-tested standard library functions.\n   - **Note:** Only suggest replacing with libraries *already in the dependency tree*. Do not suggest adding new dependencies.\n\n   **f. Structural bloat:**\n   - Files that exist purely for re-export (barrel files) with no additional logic, where the re-exports could be replaced by direct imports.\n   - Excessive file splitting where closely related code (used together, changed together) is scattered across many small files that could be a single cohesive module.\n   - Boilerplate-heavy patterns that could be reduced with code generation, decorators, or framework conventions.\n\n4. **Cross-reference findings against documentation:**\n   - Before reporting a finding, check if the pattern was an intentional decision documented in specs, ADRs, changelogs, or design docs.\n   - If a verbose pattern exists because of a documented constraint (performance, compatibility, readability preference), **do not flag it**. Note it under \"Intentional Decisions\" instead.\n   - If a finding would change externally-visible behavior (API contracts, output format, error messages), flag it as **Behavior Change Risk** rather than a safe reduction.\n\n5. **Estimate impact:**\n   - For each opportunity, estimate the approximate LOC reduction (net lines removed after the refactor).\n   - Assess risk: Low (pure refactor, no behavior change), Medium (internal behavior change, needs testing), High (external behavior change risk).\n   - Assess effort: Small (\u003C 30 min), Medium (1-2 hours), Large (half-day+).\n\n6. **Cross-reference with git:**\n   - For flagged areas, check `git log` and `git blame` to understand why the code exists in its current form.\n   - Code with recent intentional refactoring history should be flagged with lower confidence.\n   - Code untouched for 6+ months with clear reduction paths gets higher priority.\n\n7. **Verify findings (false-positive filter):**\n   - Before finalizing, re-read the actual source code for every finding. For each one, confirm:\n     - The \"duplicate\" code is genuinely duplicated — not just structurally similar with important semantic differences.\n     - The \"unnecessary wrapper\" doesn't handle edge cases, logging, error transformation, or other subtle behavior you missed on first read.\n     - The \"verbose pattern\" replacement is actually equivalent — same behavior for all inputs, including edge cases.\n     - The \"redundant check\" is genuinely redundant — the upstream validation actually covers all cases the downstream check handles.\n     - The suggested library replacement produces identical output for all relevant inputs.\n     - The reduction **preserves all existing functionality** unless the current behavior is a clear, demonstrable bug.\n   - **Drop any finding you cannot re-confirm with a second read.** If uncertain, move it to \"Needs Investigation\" rather than recommending removal.\n\n## Output Format\n\n### Summary\n- **Total opportunities found**: N\n- **Estimated total LOC reduction**: ~N lines\n- **Risk breakdown**: N low \u002F N medium \u002F N high\n\n### High-Value Reductions (low risk, high LOC savings)\n| Location | Category | Current LOC | Est. Savings | Risk | Description |\n|----------|----------|-------------|--------------|------|-------------|\n| `path\u002Ffile.ts:20-85` | Duplication | 65 | ~40 | Low | Consolidate into shared helper |\n\nFor each high-value finding, include:\n- **Current code**: brief description or snippet of the verbose\u002Fduplicated pattern\n- **Proposed approach**: how to reduce it\n- **Why it's safe**: what guarantees functionality is preserved\n\n### Medium-Value Reductions\nSame table format — moderate savings or moderate risk.\n\n### Low-Value Reductions\nBrief list — small savings, worth tracking but not urgent.\n\n### Behavior Change Risk\nOpportunities that would reduce code but may alter externally-visible behavior. Each includes:\n- What would change\n- Why it might be acceptable (e.g., fixing a likely bug)\n- What testing would be needed to confirm safety\n\n### Intentional Decisions (no action)\nVerbose patterns that exist for documented reasons — not flagged as issues.\n\n### Needs Investigation\nItems that look reducible but have ambiguous usage patterns or unclear intent. Each includes what specifically needs to be investigated.\n\n## Constraints\n- Use subagents to parallelize analysis across packages in a monorepo.\n- **Never automatically modify code** — only report findings and recommendations.\n- **Functionality preservation is the top priority.** Every recommendation must preserve existing behavior unless the current behavior is a clear, demonstrable bug. When in doubt, classify as \"Behavior Change Risk\" rather than recommending removal.\n- Do not recommend reductions that trade LOC for readability — if the verbose version is clearer, it stays.\n- Do not recommend adding new dependencies to replace hand-rolled code. Only suggest replacements using libraries already in the dependency tree.\n- Do not flag test code for reduction unless the reduction clearly improves test maintainability (e.g., shared fixtures reducing update burden).\n- Do not flag configuration files, migration files, or generated code.\n- Be specific — always include file paths and line numbers or ranges.\n- Every recommendation must include a concrete \"proposed approach,\" not just \"simplify this.\"\n- Prefer many small, independent reductions over large sweeping refactors — smaller changes are safer and easier to review.\n- If the codebase has no specs or documentation, proceed with the audit but note the absence and increase the confidence threshold for recommendations.\n\n\n## Alignment Page\n\nWhen this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page at `alignment\u002Fslim-audit-{topic}.html`. Use a normalized topic slug derived from the app, feature, research subject, report subject, or output filename.\n\n**Full content requirement.** The alignment page must contain the complete content of every proposed markdown deliverable -- every section, every finding, every detail, every list item. It is a thorough interactive review document, not a summary. Render the full deliverable content in clean, readable HTML with appropriate hierarchy, styling, and navigation. If the skill writes multiple scoped deliverables in one run, build one alignment page that contains all deliverables with anchor-linked navigation. Durable tracker artifacts, such as `research\u002Fassumption-tracker.md`, remain canonical markdown outputs but must also be fully rendered into the alignment page before approval.\n\n**Dark-mode styling.** Use a dark color scheme by default. Base CSS variables: `--bg: #0d1117; --surface: #161b22; --border: #30363d; --text: #c9d1d9; --text-muted: #8b949e; --accent: #58a6ff; --green: #3fb950; --red: #f85149; --orange: #d29922; --purple: #bc8cff;`. Apply `background: var(--bg); color: var(--text);` on body. Use `--surface` for cards, nav, and table headers. Use `--border` for all borders. Use `--purple` for question blocks and gate headings. Use `--accent` for links and section headings. Keep headings `color: #fff` or `var(--accent)` for hierarchy. Question block backgrounds should use `#1c2333`.\n\n**Alignment gates.** Treat gates as explicit review sections inside the HTML page. A gate blocks finalization until its required inline questions are answered and compiled into YAML. Include every gate that applies to the skill output, and include these gate types whenever relevant: evidence coverage, assumptions\u002Fconfidence, scope\u002Fnon-goals, candidate\u002Fverdict decisions, artifact destination, proposed file changes, coverage checkpoint, and post-approval route.\n\n**Report-only research gates.** For report-only or pre-approval research skills, the alignment page must explicitly contain evidence coverage, assumptions\u002Fconfidence, recommended path, proposed file changes, and approval gates before any canonical research, spec, or task file is created or updated.\n\n\n**Required inline questions.** Each gate must contain at least one required inline question placed directly under the content it governs, inside a visually distinct question block. Each question must use radio-button inputs and include two standing options after the skill-generated choices: \"Other \u002F None of the above\" backed by a multi-line text box for free-form input, and \"Need clarification\" backed by an optional notes box where the user can explain what is unclear. When any radio option other than \"Other\" or \"Need clarification\" is selected, show an optional \"Additional notes\" text box beneath it so the user can qualify their choice. Generate questions based on what genuinely needs user input -- do not add filler questions. Do not create a separate bottom \"Decisions & Clarifications\" section.\n\n**Gate YAML contract.** At the bottom of the page, include a \"Compile Answers\" button that aggregates answers from all inline gate questions throughout the page, including free-text notes. The button remains disabled until every required question has a selection, shows a count of remaining unanswered questions, and scrolls to the first unanswered question if clicked early. When every question is answered, generate a structured YAML block with one item per gate answer using this stable shape: `section`, `gate_type`, `status` (`answered`, `other`, or `needs-clarification`), `answer`, optional `notes`, and optional `target_artifact` or `target_path` when the gate controls file output. After successful compilation, automatically attempt to copy the YAML to the clipboard with the Clipboard API, display copy status, and display the YAML in a read-only textarea with an explicit \"Copy YAML\" button. The copy button must retry clipboard copy when supported and fall back to selecting the textarea contents when clipboard access is unavailable or blocked.\n\n**Pre-approval stop.** Before user approval, the next action is review of the HTML alignment page, not downstream routing. Ask the user to review the page and provide the compiled YAML answers. Do not include `Recommended next skill`, `Recommended next command`, or downstream routing language until after compiled YAML has been provided and the approved artifacts have been written or updated.\n\n**Diff highlighting on updates.** When the agent updates an existing alignment page after receiving compiled answers, highlight what changed since the previous version. The agent chooses inline annotation or side-by-side layout per situation.\n\n**Archiving.** Before replacing an existing alignment page, archive it to `docs\u002Fhistory\u002Farchive\u002FYYYY-MM-DD\u002FHHMMSS\u002Falignment\u002Fslim-audit-{topic}.html`.\n\n**Browser open.** Attempt to open the resulting HTML page in the browser and report whether the open succeeded or was blocked. A blocked browser-open attempt does not make the skill fail when the files were written correctly.\n\n## Default Shipping Contract\n\n- **Default next-step routing:** when reporting completion, include either `Recommended next skill: \u003Ccommand>` or the two-line pair `**Next work:** \u003Cspecific task or \"none\">` and `**Recommended next command:** \u003Cone command or route>` so the next operator has a concrete handoff.\n- If this skill creates or modifies tracked repository files, finish by committing and pushing all intended changes to the repository primary branch (`main` when present, otherwise `master`) before stopping, even if the user did not explicitly ask for commit\u002Fpush.\n- Do not leave tracked changes or unpushed commits behind. If unrelated tracked work is already present, either include it in sensible commits too or stop and explain the blocker.\n- This contract does not override stricter safety rules about secrets, destructive history changes, release publication\u002Ftag confirmation, or production deploy confirmation.\n","# Slim Audit\n\nAudit the codebase, documentation, and specs to identify concrete opportunities to reduce lines of code while maintaining or improving functionality, performance, and code quality. Outputs a prioritized reduction plan with estimated LOC savings.\n\n## Process\n\n1. **Gather project context:**\n   - Read `CLAUDE.md`, `README.md`, and project config files to understand conventions, architecture, and constraints.\n   - Search for and read project documentation: specs (`specs\u002F`, `spec.md`, `docs\u002F`), changelogs (`CHANGELOG.md`, `tasks\u002Fhistory.md`), ADRs, and design docs.\n   - Read `tasks\u002Froadmap.md`, `tasks\u002Ftodo.md`, `tasks\u002Fmanual-todo.md`, `tasks\u002Frecord-todo.md`, and `tasks\u002Frecurring-todo.md` if they exist to understand in-progress and advisory work.\n   - Build a mental model of **intentional decisions** — patterns, trade-offs, and constraints the team has deliberately chosen.\n\n2. **Determine scope:**\n   - If `$ARGUMENTS` specifies a package, directory, or file, scope the audit there.\n   - Otherwise, audit the entire project (or all packages in a monorepo).\n\n3. **Analyze for reduction opportunities across these categories:**\n\n   **a. Duplicate and near-duplicate code:**\n   - Identify code blocks that are identical or structurally similar (same logic, different names\u002Fvalues).\n   - Flag copy-paste patterns across files that could be consolidated into a shared function or module.\n   - Look for repeated patterns in tests that could use shared fixtures, helpers, or parameterized tests.\n\n   **b. Over-abstraction and unnecessary indirection:**\n   - Wrapper functions\u002Fclasses that add no logic — they just forward calls to an inner implementation.\n   - Adapter or facade layers with a single consumer that could be inlined.\n   - Abstract base classes or interfaces implemented by only one concrete class.\n   - Factory patterns where a direct constructor or function call would suffice.\n   - Middleware or decorator chains that could be collapsed.\n\n   **c. Verbose patterns with idiomatic alternatives:**\n   - Manual loops that could be replaced by built-in array\u002Fcollection methods (`map`, `filter`, `reduce`).\n   - Verbose null\u002Fundefined checks that could use optional chaining, nullish coalescing, or pattern matching.\n   - Hand-rolled utility functions that duplicate standard library or already-imported dependency functionality.\n   - Explicit type definitions that could be inferred by the compiler\u002Fruntime.\n   - Verbose error handling patterns that could use a shared error handler or middleware.\n\n   **d. Redundant logic:**\n   - Validation or guard checks already performed upstream (caller validates, callee re-validates).\n   - Dead branches in conditionals — conditions that are always true\u002Ffalse given the surrounding code.\n   - Redundant type conversions or serialization round-trips.\n   - Configuration or initialization code that duplicates framework defaults.\n\n   **e. Hand-rolled implementations replaceable by dependencies:**\n   - Custom implementations of functionality provided by an already-imported library (e.g., hand-rolled date formatting when `date-fns` is already in `package.json`).\n   - Utility code that reimplements well-tested standard library functions.\n   - **Note:** Only suggest replacing with libraries *already in the dependency tree*. Do not suggest adding new dependencies.\n\n   **f. Structural bloat:**\n   - Files that exist purely for re-export (barrel files) with no additional logic, where the re-exports could be replaced by direct imports.\n   - Excessive file splitting where closely related code (used together, changed together) is scattered across many small files that could be a single cohesive module.\n   - Boilerplate-heavy patterns that could be reduced with code generation, decorators, or framework conventions.\n\n4. **Cross-reference findings against documentation:**\n   - Before reporting a finding, check if the pattern was an intentional decision documented in specs, ADRs, changelogs, or design docs.\n   - If a verbose pattern exists because of a documented constraint (performance, compatibility, readability preference), **do not flag it**. Note it under \"Intentional Decisions\" instead.\n   - If a finding would change externally-visible behavior (API contracts, output format, error messages), flag it as **Behavior Change Risk** rather than a safe reduction.\n\n5. **Estimate impact:**\n   - For each opportunity, estimate the approximate LOC reduction (net lines removed after the refactor).\n   - Assess risk: Low (pure refactor, no behavior change), Medium (internal behavior change, needs testing), High (external behavior change risk).\n   - Assess effort: Small (\u003C 30 min), Medium (1-2 hours), Large (half-day+).\n\n6. **Cross-reference with git:**\n   - For flagged areas, check `git log` and `git blame` to understand why the code exists in its current form.\n   - Code with recent intentional refactoring history should be flagged with lower confidence.\n   - Code untouched for 6+ months with clear reduction paths gets higher priority.\n\n7. **Verify findings (false-positive filter):**\n   - Before finalizing, re-read the actual source code for every finding. For each one, confirm:\n     - The \"duplicate\" code is genuinely duplicated — not just structurally similar with important semantic differences.\n     - The \"unnecessary wrapper\" doesn't handle edge cases, logging, error transformation, or other subtle behavior you missed on first read.\n     - The \"verbose pattern\" replacement is actually equivalent — same behavior for all inputs, including edge cases.\n     - The \"redundant check\" is genuinely redundant — the upstream validation actually covers all cases the downstream check handles.\n     - The suggested library replacement produces identical output for all relevant inputs.\n     - The reduction **preserves all existing functionality** unless the current behavior is a clear, demonstrable bug.\n   - **Drop any finding you cannot re-confirm with a second read.** If uncertain, move it to \"Needs Investigation\" rather than recommending removal.\n\n## Output Format\n\n### Summary\n- **Total opportunities found**: N\n- **Estimated total LOC reduction**: ~N lines\n- **Risk breakdown**: N low \u002F N medium \u002F N high\n\n### High-Value Reductions (low risk, high LOC savings)\n| Location | Category | Current LOC | Est. Savings | Risk | Description |\n|----------|----------|-------------|--------------|------|-------------|\n| `path\u002Ffile.ts:20-85` | Duplication | 65 | ~40 | Low | Consolidate into shared helper |\n\nFor each high-value finding, include:\n- **Current code**: brief description or snippet of the verbose\u002Fduplicated pattern\n- **Proposed approach**: how to reduce it\n- **Why it's safe**: what guarantees functionality is preserved\n\n### Medium-Value Reductions\nSame table format — moderate savings or moderate risk.\n\n### Low-Value Reductions\nBrief list — small savings, worth tracking but not urgent.\n\n### Behavior Change Risk\nOpportunities that would reduce code but may alter externally-visible behavior. Each includes:\n- What would change\n- Why it might be acceptable (e.g., fixing a likely bug)\n- What testing would be needed to confirm safety\n\n### Intentional Decisions (no action)\nVerbose patterns that exist for documented reasons — not flagged as issues.\n\n### Needs Investigation\nItems that look reducible but have ambiguous usage patterns or unclear intent. Each includes what specifically needs to be investigated.\n\n## Constraints\n- Use subagents to parallelize analysis across packages in a monorepo.\n- **Never automatically modify code** — only report findings and recommendations.\n- **Functionality preservation is the top priority.** Every recommendation must preserve existing behavior unless the current behavior is a clear, demonstrable bug. When in doubt, classify as \"Behavior Change Risk\" rather than recommending removal.\n- Do not recommend reductions that trade LOC for readability — if the verbose version is clearer, it stays.\n- Do not recommend adding new dependencies to replace hand-rolled code. Only suggest replacements using libraries already in the dependency tree.\n- Do not flag test code for reduction unless the reduction clearly improves test maintainability (e.g., shared fixtures reducing update burden).\n- Do not flag configuration files, migration files, or generated code.\n- Be specific — always include file paths and line numbers or ranges.\n- Every recommendation must include a concrete \"proposed approach,\" not just \"simplify this.\"\n- Prefer many small, independent reductions over large sweeping refactors — smaller changes are safer and easier to review.\n- If the codebase has no specs or documentation, proceed with the audit but note the absence and increase the confidence threshold for recommendations.\n\n\n## Alignment Page\n\nWhen this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page at `alignment\u002Fslim-audit-{topic}.html`. Use a normalized topic slug derived from the app, feature, research subject, report subject, or output filename.\n\n**Full content requirement.** The alignment page must contain the complete content of every proposed markdown deliverable -- every section, every finding, every detail, every list item. It is a thorough interactive review document, not a summary. Render the full deliverable content in clean, readable HTML with appropriate hierarchy, styling, and navigation. If the skill writes multiple scoped deliverables in one run, build one alignment page that contains all deliverables with anchor-linked navigation. Durable tracker artifacts, such as `research\u002Fassumption-tracker.md`, remain canonical markdown outputs but must also be fully rendered into the alignment page before approval.\n\n**Dark-mode styling.** Use a dark color scheme by default. Base CSS variables: `--bg: #0d1117; --surface: #161b22; --border: #30363d; --text: #c9d1d9; --text-muted: #8b949e; --accent: #58a6ff; --green: #3fb950; --red: #f85149; --orange: #d29922; --purple: #bc8cff;`. Apply `background: var(--bg); color: var(--text);` on body. Use `--surface` for cards, nav, and table headers. Use `--border` for all borders. Use `--purple` for question blocks and gate headings. Use `--accent` for links and section headings. Keep headings `color: #fff` or `var(--accent)` for hierarchy. Question block backgrounds should use `#1c2333`.\n\n**Alignment gates.** Treat gates as explicit review sections inside the HTML page. A gate blocks finalization until its required inline questions are answered and compiled into YAML. Include every gate that applies to the skill output, and include these gate types whenever relevant: evidence coverage, assumptions\u002Fconfidence, scope\u002Fnon-goals, candidate\u002Fverdict decisions, artifact destination, proposed file changes, coverage checkpoint, and post-approval route.\n\n**Report-only research gates.** For report-only or pre-approval research skills, the alignment page must explicitly contain evidence coverage, assumptions\u002Fconfidence, recommended path, proposed file changes, and approval gates before any canonical research, spec, or task file is created or updated.\n\n\n**Required inline questions.** Each gate must contain at least one required inline question placed directly under the content it governs, inside a visually distinct question block. Each question must use radio-button inputs and include two standing options after the skill-generated choices: \"Other \u002F None of the above\" backed by a multi-line text box for free-form input, and \"Need clarification\" backed by an optional notes box where the user can explain what is unclear. When any radio option other than \"Other\" or \"Need clarification\" is selected, show an optional \"Additional notes\" text box beneath it so the user can qualify their choice. Generate questions based on what genuinely needs user input -- do not add filler questions. Do not create a separate bottom \"Decisions & Clarifications\" section.\n\n**Gate YAML contract.** At the bottom of the page, include a \"Compile Answers\" button that aggregates answers from all inline gate questions throughout the page, including free-text notes. The button remains disabled until every required question has a selection, shows a count of remaining unanswered questions, and scrolls to the first unanswered question if clicked early. When every question is answered, generate a structured YAML block with one item per gate answer using this stable shape: `section`, `gate_type`, `status` (`answered`, `other`, or `needs-clarification`), `answer`, optional `notes`, and optional `target_artifact` or `target_path` when the gate controls file output. After successful compilation, automatically attempt to copy the YAML to the clipboard with the Clipboard API, display copy status, and display the YAML in a read-only textarea with an explicit \"Copy YAML\" button. The copy button must retry clipboard copy when supported and fall back to selecting the textarea contents when clipboard access is unavailable or blocked.\n\n**Pre-approval stop.** Before user approval, the next action is review of the HTML alignment page, not downstream routing. Ask the user to review the page and provide the compiled YAML answers. Do not include `Recommended next skill`, `Recommended next command`, or downstream routing language until after compiled YAML has been provided and the approved artifacts have been written or updated.\n\n**Diff highlighting on updates.** When the agent updates an existing alignment page after receiving compiled answers, highlight what changed since the previous version. The agent chooses inline annotation or side-by-side layout per situation.\n\n**Archiving.** Before replacing an existing alignment page, archive it to `docs\u002Fhistory\u002Farchive\u002FYYYY-MM-DD\u002FHHMMSS\u002Falignment\u002Fslim-audit-{topic}.html`.\n\n**Browser open.** Attempt to open the resulting HTML page in the browser and report whether the open succeeded or was blocked. A blocked browser-open attempt does not make the skill fail when the files were written correctly.\n\n## Default Shipping Contract\n\n- **Default next-step routing:** when reporting completion, include either `Recommended next skill: \u003Ccommand>` or the two-line pair `**Next work:** \u003Cspecific task or \"none\">` and `**Recommended next command:** \u003Cone command or route>` so the next operator has a concrete handoff.\n- If this skill creates or modifies tracked repository files, finish by committing and pushing all intended changes to the repository primary branch (`main` when present, otherwise `master`) before stopping, even if the user did not explicitly ask for commit\u002Fpush.\n- Do not leave tracked changes or unpushed commits behind. If unrelated tracked work is already present, either include it in sensible commits too or stop and explain the blocker.\n- This contract does not override stricter safety rules about secrets, destructive history changes, release publication\u002Ftag confirmation, or production deploy confirmation.\n",{"name":5,"type":26,"version":34,"description":7,"argument-hint":35},"v0.0","[optional: specific package, directory, or file to scope the audit]","master","96e2912af886dd1606b1b97df707715aef062b02","packs\u002Fcode-review\u002Fclaude\u002Fslim-audit\u002Farchive\u002Fv0.0",0,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills","https:\u002F\u002Fagentic-skills-blush.vercel.app","https:\u002F\u002Fgithub.com\u002FGeorgeQLe","georgeqle.com","George Le is a futurist and serial tech entrepreneur who wants to work toward a world where humanity is free from robotic tasks.","2026-11-10 04:07:24",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add GeorgeQLe\u002Fagentic-skills --skill slim-audit",{"tool":52,"command":53},"bunx","bunx skills add GeorgeQLe\u002Fagentic-skills --skill slim-audit",{"tool":55,"command":56},"pnpm","pnpm dlx skills add GeorgeQLe\u002Fagentic-skills --skill slim-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fcode-review\u002Fclaude\u002Fslim-audit\u002Farchive\u002Fv0.0\u002FSKILL.md",true,[60,66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"assets\u002Fbase.json","ASSET","资产文件",7716,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Fassets\u002Fbase.json",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Faccessibility.md","REFERENCE","参考文档",10581,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Faccessibility.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fanti-patterns.md",18112,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Fanti-patterns.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Farchetype-composition.md",3460,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Farchetype-composition.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Farchetypes\u002Fanalytical-canvas.md",16678,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Farchetypes\u002Fanalytical-canvas.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Farchetypes\u002Fcomparative-benchmark.md",20049,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Farchetypes\u002Fcomparative-benchmark.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Farchetypes\u002Fexecutive-summary.md",13945,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Farchetypes\u002Fexecutive-summary.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Farchetypes\u002Fnarrative-story.md",17216,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Farchetypes\u002Fnarrative-story.md",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Farchetypes\u002Foperational-monitor.md",16285,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Farchetypes\u002Foperational-monitor.md",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fbrownfield.md",5417,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Fbrownfield.md",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fchart-selection.md",9371,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Fchart-selection.md",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fcolor.md",9838,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Fcolor.md",{"path":113,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fdesign-brief.md",21187,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Fdesign-brief.md",{"path":117,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Finteractivity.md",6650,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Finteractivity.md",{"path":121,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":122,"sourceHtmlUrl":123},"references\u002Flayout.md",10802,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Flayout.md",{"path":125,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fpre-flight-checklist.md",10659,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Fpre-flight-checklist.md",{"path":129,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fsignatures.md",11125,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Fsignatures.md",{"path":133,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Ftone-catalog.md",14033,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Ftone-catalog.md",{"path":137,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Ftypography.md",8867,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Ftypography.md",{"path":141,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fvisual-cookbook.md",27242,"https:\u002F\u002Fgithub.com\u002FSigurdHall\u002Fskills\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpowerbi-report-design\u002Freferences\u002Fvisual-cookbook.md",[145,157,167,179,189,199],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":29},"01M6G0NJES15RJKZE6YZ0TSYGF","source-checkout-allowed","Valid source-checkout-only fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fsource-checkout-allowed\u002FSKILL.md",[],[152,153,154,155,28,156],"source checkout allowed","checkout","fixture","only","valid",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":29},"01M6G0NFZ3R1MNB1E3DVTM0WB7","deck-install-valid","Valid deck install fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fdeck-install\u002FSKILL.md",[],[164,165,166,156,154,28],"deck install valid","deck","install",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":29},"01M6G0ND3QZQC4MDZ9NVB97PT2","codex-pack-guard-valid","Valid Codex Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-pack-guard\u002FSKILL.md",[],[174,175,176,156,177,178,154,28],"codex pack guard valid","pack","guard","codex","availability",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":29},"01M6G0NA9YB3NKGZKD3S96JMNB","codex-missing-skill-valid","Valid Codex missing skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-missing-skill-fallback\u002FSKILL.md",[],[186,187,156,177,28,188,154],"codex missing skill valid","missing","fallback",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":29},"01M6G0N7PC0EKFD40ZWQAXSAQ9","codex-base-skill-fallback-valid","Valid Codex base skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-base-skill-fallback\u002FSKILL.md",[],[156,177,188,196,197,198,28,154],"base skill","codex base skill fallback valid","base",{"skillNo":200,"name":201,"nameZh":6,"description":202,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":203,"categories":204,"keywords":205,"publishedAt":29},"01M6G0N4VRR2YKZQ6N3Y6S2BQA","claude-pack-guard-valid","Valid Claude Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fclaude-pack-guard\u002FSKILL.md",[],[156,176,175,206,178,28,154],"claude pack guard valid"]