[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7137QJQXPM1TR6P8QGKQPC2":3,"skill-same:01M7137QJQXPM1TR6P8QGKQPC2":60},{"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":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M7137QJQXPM1TR6P8QGKQPC2","yq-simplify-code",null,"审计代码、测试或门禁是否重复、过度设计或失去用途。","EthanYoQ\u002FSkill-hub","EthanYoQ","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F257484394?v=4","01M70C9QKWR1YS0S7V26DNB18H","Ethan","01M70C9QMER047R5ANZZA6KC2P",11,"MIT","https:\u002F\u002Fgithub.com\u002FEthanYoQ\u002FSkill-hub\u002Fblob\u002Fmine\u002Fskills\u002F01-agent-engineering\u002Fyq-simplify-code\u002FSKILL.md",[],[19,20,21,22,23,24,25],"code","simplify","simplify code","yq","yq simplify code","testing","design","2026-11-10 10:12:30",false,"---\nname: yq-simplify-code\ndescription: 审计代码、测试或门禁是否重复、过度设计或失去用途。\n---\n\n# Find Code Simplifications\n\nTurn a broad request to simplify a codebase into a small set of well-proven removals, consolidations, or demotions. Follow the code and repository decisions; prefer a few candidates with complete evidence over a long list of plausible guesses. This skill can produce an audit, durable proposals, targeted TODOs, or implementation when the user authorizes changes.\n\nSimplification is reduced owned surface and cognitive load, not fewer lines at any cost. A wrapper that relocates the same complexity, a dependency that adds more glue than it removes, or a deletion that silently drops supported behavior is not a win.\n\n## Establish repository context\n\n1. Confirm the requested scope, output, and write authority. A review request reports findings; a fix or implementation request may change code within scope.\n2. Read applicable agent instructions, `CONTEXT.md`, architecture docs, ADRs\u002FRFCs\u002Fdecision notes, package manifests, public API docs, compatibility policy, and testing guidance.\n3. Identify protected seams and product commitments. Treat a recorded decision as rationale to test against current evidence, not eternal truth; treat tests as evidence of expected behavior, not proof that every pinned behavior remains valuable.\n4. Inspect the actual checkout, branch\u002Fbase, dirty state, generated sources, and runtime-loading paths before judging reachability.\n\nDo not import another repository's architectural exceptions. A seam is protected only when this project's code, contract, or current decision evidence protects it.\n\n## What makes a strong candidate\n\nA strong candidate removes, folds, narrows, or demotes real surface area and shows that its ongoing cost exceeds its present value. Common forms include:\n\n- a public method, event, config knob, extension hook, registry notification, helper, package, command, or durable field with no production consumer;\n- tests or docs as the only consumers of behavior that is not a supported contract;\n- two representations mirroring the same fact across state, events, caches, persistence, projections, or UI models;\n- an interface method every implementation carries but no caller uses;\n- a package or service split that exists only for fixtures, demos, or support code and adds publish, versioning, or dependency overhead;\n- speculative generality such as unused multi-tenancy, background orchestration, invalidation, plugin hooks, fallback layers, or compatibility shims with no supported owner;\n- defensive copies, validators, rollback paths, or expected-output inventories that protect an impossible or unsupported boundary;\n- hand-rolled parsers, framing, retries, globbing, diffing, scheduling, or data structures already covered by a suitable runtime builtin or maintained dependency;\n- an added-then-removed feature whose old implementation, tests, docs, migrations, or decisions still remain as sediment.\n\nThin observations are not durable simplification proposals: a typo, one unused local, one tool's unreviewed dead-code report, or “this looks complex” without consumer and contract evidence. When repository edits are authorized, fix tiny safe items or add a concise local TODO with a clear owner and action. Without write authority, report the candidate only.\n\n## Survey broad scopes deliberately\n\nFor a broad audit, partition the codebase by real ownership boundaries rather than file count. Useful domains include:\n\n- public APIs, domain services, commands, configuration, and extension points;\n- state, events, persistence, caches, migrations, and replay;\n- asynchronous lifecycle, cancellation, retries, readiness, disposal, and failure arbitration;\n- adapters, integrations, protocol boundaries, serialization, and validation;\n- frontend state, rendering contracts, and duplicated server\u002Fclient models;\n- build tooling, packages, scripts, examples, fixtures, snapshots, and generated artifacts.\n\nStart with the largest production-code deltas and highest fan-out abstractions. An audit that stops after obvious unused symbols can miss duplicated lifecycle machinery carrying most of the cost.\n\nUse repository-supported structural tools when configured, such as CodeGraph for indexed call paths and blast radius. Use `rg` for exact symbols, wire strings, config keys, dynamic registrations, docs, and cases structural indexes do not cover. When breadth requires several independent domains and delegation is allowed, give each subagent a non-overlapping boundary and require evidence and rejected candidates, not guesses.\n\nWhen a code simplification makes comments, examples, decision prose, or implementation-heavy documentation obsolete, include their owner-first cleanup in the same candidate. Use `$yq-technical-writing` for proposition-preserving edits and `$yq-doc-maintenance` for duplicated or conflicting document ownership. Do not expand a focused code audit into a repository-wide prose cleanup without user scope.\n\n## Audit trust and lifecycle boundaries\n\nFor every defensive copy, freeze, validator, callback capture, and schema check, name the data origin and next owner.\n\nSame-process typed calls often borrow readonly values. Parsers, config loaders, queues, model\u002Ftool JSON, durable files, workers, processes, databases, and wire decoders own or validate their inputs. Tests using hostile getters, fake typed objects, callback replacement, or mutation after a same-process handoff can reveal a speculative contract; they do not automatically justify deletion.\n\nFor asynchronous code, draw the ownership graph. Map each sentinel, readiness promise, cancellation route, timeout, disposer, retry counter, and state flag to a distinct owner or transition. Several mechanisms that mirror the same liveness or settlement fact are candidates for one transaction or lifecycle controller. Preserve separate machinery when it protects genuinely different concerns such as synchronous publication and rollback, first-terminal-outcome arbitration, worker\u002Fprocess ownership, callback containment, or dispose-to-quiescence.\n\n## Audit invariant companions\n\nFor every validator, consistency check, or regression assertion, identify the observations it compares and how each is produced. A strong invariant compares facts that can diverge independently—for example, a writer's output against a separately parsed readback, a primary crawl against an independent traversal, or runtime state against a durable receipt. A same-source comparison, service-presence assertion, fixed example copied from the implementation, or value rechecked by the same parser may only restate one fact twice.\n\nTreat weak companion checks as simplification candidates, but first prove what failure they were intended to catch. Preserve or replace a check when it still detects a distinct corruption, race, compatibility break, or external disagreement. Do not count two differently named paths as independent evidence when they share the same producer or cached input.\n\n## Audit tests and gates as one portfolio\n\nWhen tests or validation gates are part of the reported complexity, evaluate the portfolio rather than adding another check by default. For each test family or gate, identify the supported contract or risk it owns, the failure it can uniquely detect, the evidence source it observes, its overlap with other checks, and its maintenance, runtime, and flake cost.\n\nClassify each item as:\n\n- **Keep:** it uniquely protects a current contract, security boundary, compatibility obligation, recovery path, or independently produced fact.\n- **Merge:** several checks prove the same fact from the same source and can share one owner without losing a failure signal.\n- **Narrow:** a repository-wide check can target the packages, files, or behavior that actually own the risk.\n- **Run on demand:** an expensive environment, release, migration, or provider rehearsal has value only for the changes that can affect it.\n- **Remove:** it pins unsupported behavior, a dead API, implementation choreography, a duplicated snapshot, or a same-source assertion with no independent failure mode.\n\nCount the production surface, fixtures, helper architecture, CI time, maintenance, and debugging burden on both sides of a proposed change. Do not optimize for test count, coverage percentage, or a green dashboard in isolation. This audit does not create tests, scripts, or gates; when evidence is missing, report the gap unless the user separately authorizes implementation.\n\n## Evaluate dependency substitutions\n\nA dependency or runtime builtin can simplify a codebase, but the comparison is net surface rather than implementation line count.\n\nFor each proposed substitution:\n\n- identify the exact behavior the existing implementation owns and the residual semantics the replacement does not cover;\n- check runtime and language-version compatibility, maintenance, adoption, license, security posture, transitive footprint, bundle\u002Fruntime cost, and operational constraints;\n- prefer a stable builtin when it meets the contract;\n- count implementation, dedicated tests, docs, update burden, and glue on both sides;\n- preserve project-specific behavior that still has consumers rather than hiding it behind a misleading generic wrapper.\n\nReject a swap whose adapter and compatibility layer recreate the removed complexity.\n\n## Prove or reject every candidate\n\nClassify consumers before proposing a change:\n\n- **Production:** shipped source, runtime configuration and loaders, public entry points, migrations, operational scripts, and real integration paths.\n- **Non-production:** unit fixtures, snapshots, tests, examples, documentation, old plans, and generated expected output.\n- **Ambiguous:** examples used as smoke paths, build-time plugins, scripts invoked by release or operations, dynamically loaded modules, reflection, and string-addressed events. Inspect them before classification.\n\nSearch the exact identifier and its aliases, import\u002Fexport surface, method-call forms, wire strings, configuration names, serialized fields, and generated references. Read every credible call site. Static-analysis tools can nominate candidates; they cannot adjudicate public APIs, dynamic loading, reflection, schemas, or compatibility.\n\nReject or downgrade a candidate when:\n\n- a supported production consumer exists and removal is a product decision rather than cleanup;\n- the surface is required by a current public contract, compatibility window, migration, security boundary, or verified operational recovery path;\n- current decision evidence explains the seam and the new evidence does not beat that rationale;\n- the removal causes broad unrelated churn without reducing the public or conceptual surface;\n- behavior loss, migration cost, or rollback risk exceeds the demonstrated maintenance benefit;\n- the evidence is partial. Mark the missing evidence as `unknown`; do not report zero consumers from an incomplete scan.\n\nFor accepted candidates, state the current surface, production and non-production consumers, behavior given up, net deletion or consolidation, migration\u002Fcompatibility impact, verification plan, confidence, and strongest counterargument.\n\n## Choose the right output\n\n- **Implement directly** when the user requested changes, the candidate is locally bounded, behavior is understood, and focused verification can prove the result.\n- **Use a TODO\u002FFIXME\u002FXXX** only when repository edits are authorized, for a small local cleanup that is useful but not part of the current implementation. Give it a stable tag, reason, and concrete action. Otherwise report the suggested marker without writing it.\n- **Write a durable proposal** only when repository edits are authorized, for public API removal, architecture consolidation, compatibility change, persistence\u002Fschema change, or cross-package work. Use the repository's existing ADR, RFC, issue, design-note, or proposal mechanism. Without write authority—or when no mechanism exists—report the candidate and proposed content instead of creating a document.\n\nA durable proposal should name the problem and evidence, exact surface to remove or fold, strongest reason to keep it, behavior or optionality surrendered, migration, acceptance criteria, risks, and validation. Consolidate overlap into the current owning decision instead of creating a duplicate.\n\n## Coalesce superseded decisions carefully\n\nAudit old decisions only when requested or when the simplification makes an owning document obsolete.\n\n1. Identify the current owner from shipped code, configuration, schemas, current docs, newer decisions, and inbound links. Dates and titles are discovery hints.\n2. Distinguish full from partial supersession. Any surviving behavior, compatibility obligation, durable format, migration, or independently current rejected alternative makes the older record partially live.\n3. Before removing a fully superseded record, transfer unique rationale, alternatives, consequences, verification evidence, reintroduction conditions, and named coverage gaps to the current owner.\n4. Repair every inbound link and follow the repository's retention policy. Do not edit frozen archives to make active prose cleaner.\n\nFor an added-then-removed feature, full supersession requires absence from production code, configuration, public schemas, durable\u002Fwire formats, migrations, compatibility handling, current docs, and tests that present it as supported. Negative tests that enforce absence and rationale preventing accidental reintroduction may remain.\n\n## Fold work from another branch or PR\n\nCompare the sibling branch to its verified base or merge-base, not automatically to the current branch or `origin\u002Fmain`. Port non-overlapping, well-proven changes; consolidate overlapping findings into the current owner. Do not preserve a candidate merely to preserve a count. Close or mutate external PR state only when the user requested it or that housekeeping is explicitly in scope.\n\n## Validate and report\n\nSelect validation from the outgoing diff and repository tooling. Run focused owning tests, type or schema checks, build\u002Fpackage smoke when public or built surfaces change, documentation\u002Flink checks for proposals or comments, and `git diff --check`. Use broader suites when the change is cross-cutting, the user requests them, or narrow evidence cannot credibly cover the blast radius.\n\nReport accepted candidates, rejected candidates with reasons, areas surveyed, areas not inspected, files or surfaces changed, behavior deliberately preserved, and checks actually run. Keep proposals separate from implemented and verified simplifications.\n","# Find Code Simplifications\n\nTurn a broad request to simplify a codebase into a small set of well-proven removals, consolidations, or demotions. Follow the code and repository decisions; prefer a few candidates with complete evidence over a long list of plausible guesses. This skill can produce an audit, durable proposals, targeted TODOs, or implementation when the user authorizes changes.\n\nSimplification is reduced owned surface and cognitive load, not fewer lines at any cost. A wrapper that relocates the same complexity, a dependency that adds more glue than it removes, or a deletion that silently drops supported behavior is not a win.\n\n## Establish repository context\n\n1. Confirm the requested scope, output, and write authority. A review request reports findings; a fix or implementation request may change code within scope.\n2. Read applicable agent instructions, `CONTEXT.md`, architecture docs, ADRs\u002FRFCs\u002Fdecision notes, package manifests, public API docs, compatibility policy, and testing guidance.\n3. Identify protected seams and product commitments. Treat a recorded decision as rationale to test against current evidence, not eternal truth; treat tests as evidence of expected behavior, not proof that every pinned behavior remains valuable.\n4. Inspect the actual checkout, branch\u002Fbase, dirty state, generated sources, and runtime-loading paths before judging reachability.\n\nDo not import another repository's architectural exceptions. A seam is protected only when this project's code, contract, or current decision evidence protects it.\n\n## What makes a strong candidate\n\nA strong candidate removes, folds, narrows, or demotes real surface area and shows that its ongoing cost exceeds its present value. Common forms include:\n\n- a public method, event, config knob, extension hook, registry notification, helper, package, command, or durable field with no production consumer;\n- tests or docs as the only consumers of behavior that is not a supported contract;\n- two representations mirroring the same fact across state, events, caches, persistence, projections, or UI models;\n- an interface method every implementation carries but no caller uses;\n- a package or service split that exists only for fixtures, demos, or support code and adds publish, versioning, or dependency overhead;\n- speculative generality such as unused multi-tenancy, background orchestration, invalidation, plugin hooks, fallback layers, or compatibility shims with no supported owner;\n- defensive copies, validators, rollback paths, or expected-output inventories that protect an impossible or unsupported boundary;\n- hand-rolled parsers, framing, retries, globbing, diffing, scheduling, or data structures already covered by a suitable runtime builtin or maintained dependency;\n- an added-then-removed feature whose old implementation, tests, docs, migrations, or decisions still remain as sediment.\n\nThin observations are not durable simplification proposals: a typo, one unused local, one tool's unreviewed dead-code report, or “this looks complex” without consumer and contract evidence. When repository edits are authorized, fix tiny safe items or add a concise local TODO with a clear owner and action. Without write authority, report the candidate only.\n\n## Survey broad scopes deliberately\n\nFor a broad audit, partition the codebase by real ownership boundaries rather than file count. Useful domains include:\n\n- public APIs, domain services, commands, configuration, and extension points;\n- state, events, persistence, caches, migrations, and replay;\n- asynchronous lifecycle, cancellation, retries, readiness, disposal, and failure arbitration;\n- adapters, integrations, protocol boundaries, serialization, and validation;\n- frontend state, rendering contracts, and duplicated server\u002Fclient models;\n- build tooling, packages, scripts, examples, fixtures, snapshots, and generated artifacts.\n\nStart with the largest production-code deltas and highest fan-out abstractions. An audit that stops after obvious unused symbols can miss duplicated lifecycle machinery carrying most of the cost.\n\nUse repository-supported structural tools when configured, such as CodeGraph for indexed call paths and blast radius. Use `rg` for exact symbols, wire strings, config keys, dynamic registrations, docs, and cases structural indexes do not cover. When breadth requires several independent domains and delegation is allowed, give each subagent a non-overlapping boundary and require evidence and rejected candidates, not guesses.\n\nWhen a code simplification makes comments, examples, decision prose, or implementation-heavy documentation obsolete, include their owner-first cleanup in the same candidate. Use `$yq-technical-writing` for proposition-preserving edits and `$yq-doc-maintenance` for duplicated or conflicting document ownership. Do not expand a focused code audit into a repository-wide prose cleanup without user scope.\n\n## Audit trust and lifecycle boundaries\n\nFor every defensive copy, freeze, validator, callback capture, and schema check, name the data origin and next owner.\n\nSame-process typed calls often borrow readonly values. Parsers, config loaders, queues, model\u002Ftool JSON, durable files, workers, processes, databases, and wire decoders own or validate their inputs. Tests using hostile getters, fake typed objects, callback replacement, or mutation after a same-process handoff can reveal a speculative contract; they do not automatically justify deletion.\n\nFor asynchronous code, draw the ownership graph. Map each sentinel, readiness promise, cancellation route, timeout, disposer, retry counter, and state flag to a distinct owner or transition. Several mechanisms that mirror the same liveness or settlement fact are candidates for one transaction or lifecycle controller. Preserve separate machinery when it protects genuinely different concerns such as synchronous publication and rollback, first-terminal-outcome arbitration, worker\u002Fprocess ownership, callback containment, or dispose-to-quiescence.\n\n## Audit invariant companions\n\nFor every validator, consistency check, or regression assertion, identify the observations it compares and how each is produced. A strong invariant compares facts that can diverge independently—for example, a writer's output against a separately parsed readback, a primary crawl against an independent traversal, or runtime state against a durable receipt. A same-source comparison, service-presence assertion, fixed example copied from the implementation, or value rechecked by the same parser may only restate one fact twice.\n\nTreat weak companion checks as simplification candidates, but first prove what failure they were intended to catch. Preserve or replace a check when it still detects a distinct corruption, race, compatibility break, or external disagreement. Do not count two differently named paths as independent evidence when they share the same producer or cached input.\n\n## Audit tests and gates as one portfolio\n\nWhen tests or validation gates are part of the reported complexity, evaluate the portfolio rather than adding another check by default. For each test family or gate, identify the supported contract or risk it owns, the failure it can uniquely detect, the evidence source it observes, its overlap with other checks, and its maintenance, runtime, and flake cost.\n\nClassify each item as:\n\n- **Keep:** it uniquely protects a current contract, security boundary, compatibility obligation, recovery path, or independently produced fact.\n- **Merge:** several checks prove the same fact from the same source and can share one owner without losing a failure signal.\n- **Narrow:** a repository-wide check can target the packages, files, or behavior that actually own the risk.\n- **Run on demand:** an expensive environment, release, migration, or provider rehearsal has value only for the changes that can affect it.\n- **Remove:** it pins unsupported behavior, a dead API, implementation choreography, a duplicated snapshot, or a same-source assertion with no independent failure mode.\n\nCount the production surface, fixtures, helper architecture, CI time, maintenance, and debugging burden on both sides of a proposed change. Do not optimize for test count, coverage percentage, or a green dashboard in isolation. This audit does not create tests, scripts, or gates; when evidence is missing, report the gap unless the user separately authorizes implementation.\n\n## Evaluate dependency substitutions\n\nA dependency or runtime builtin can simplify a codebase, but the comparison is net surface rather than implementation line count.\n\nFor each proposed substitution:\n\n- identify the exact behavior the existing implementation owns and the residual semantics the replacement does not cover;\n- check runtime and language-version compatibility, maintenance, adoption, license, security posture, transitive footprint, bundle\u002Fruntime cost, and operational constraints;\n- prefer a stable builtin when it meets the contract;\n- count implementation, dedicated tests, docs, update burden, and glue on both sides;\n- preserve project-specific behavior that still has consumers rather than hiding it behind a misleading generic wrapper.\n\nReject a swap whose adapter and compatibility layer recreate the removed complexity.\n\n## Prove or reject every candidate\n\nClassify consumers before proposing a change:\n\n- **Production:** shipped source, runtime configuration and loaders, public entry points, migrations, operational scripts, and real integration paths.\n- **Non-production:** unit fixtures, snapshots, tests, examples, documentation, old plans, and generated expected output.\n- **Ambiguous:** examples used as smoke paths, build-time plugins, scripts invoked by release or operations, dynamically loaded modules, reflection, and string-addressed events. Inspect them before classification.\n\nSearch the exact identifier and its aliases, import\u002Fexport surface, method-call forms, wire strings, configuration names, serialized fields, and generated references. Read every credible call site. Static-analysis tools can nominate candidates; they cannot adjudicate public APIs, dynamic loading, reflection, schemas, or compatibility.\n\nReject or downgrade a candidate when:\n\n- a supported production consumer exists and removal is a product decision rather than cleanup;\n- the surface is required by a current public contract, compatibility window, migration, security boundary, or verified operational recovery path;\n- current decision evidence explains the seam and the new evidence does not beat that rationale;\n- the removal causes broad unrelated churn without reducing the public or conceptual surface;\n- behavior loss, migration cost, or rollback risk exceeds the demonstrated maintenance benefit;\n- the evidence is partial. Mark the missing evidence as `unknown`; do not report zero consumers from an incomplete scan.\n\nFor accepted candidates, state the current surface, production and non-production consumers, behavior given up, net deletion or consolidation, migration\u002Fcompatibility impact, verification plan, confidence, and strongest counterargument.\n\n## Choose the right output\n\n- **Implement directly** when the user requested changes, the candidate is locally bounded, behavior is understood, and focused verification can prove the result.\n- **Use a TODO\u002FFIXME\u002FXXX** only when repository edits are authorized, for a small local cleanup that is useful but not part of the current implementation. Give it a stable tag, reason, and concrete action. Otherwise report the suggested marker without writing it.\n- **Write a durable proposal** only when repository edits are authorized, for public API removal, architecture consolidation, compatibility change, persistence\u002Fschema change, or cross-package work. Use the repository's existing ADR, RFC, issue, design-note, or proposal mechanism. Without write authority—or when no mechanism exists—report the candidate and proposed content instead of creating a document.\n\nA durable proposal should name the problem and evidence, exact surface to remove or fold, strongest reason to keep it, behavior or optionality surrendered, migration, acceptance criteria, risks, and validation. Consolidate overlap into the current owning decision instead of creating a duplicate.\n\n## Coalesce superseded decisions carefully\n\nAudit old decisions only when requested or when the simplification makes an owning document obsolete.\n\n1. Identify the current owner from shipped code, configuration, schemas, current docs, newer decisions, and inbound links. Dates and titles are discovery hints.\n2. Distinguish full from partial supersession. Any surviving behavior, compatibility obligation, durable format, migration, or independently current rejected alternative makes the older record partially live.\n3. Before removing a fully superseded record, transfer unique rationale, alternatives, consequences, verification evidence, reintroduction conditions, and named coverage gaps to the current owner.\n4. Repair every inbound link and follow the repository's retention policy. Do not edit frozen archives to make active prose cleaner.\n\nFor an added-then-removed feature, full supersession requires absence from production code, configuration, public schemas, durable\u002Fwire formats, migrations, compatibility handling, current docs, and tests that present it as supported. Negative tests that enforce absence and rationale preventing accidental reintroduction may remain.\n\n## Fold work from another branch or PR\n\nCompare the sibling branch to its verified base or merge-base, not automatically to the current branch or `origin\u002Fmain`. Port non-overlapping, well-proven changes; consolidate overlapping findings into the current owner. Do not preserve a candidate merely to preserve a count. Close or mutate external PR state only when the user requested it or that housekeeping is explicitly in scope.\n\n## Validate and report\n\nSelect validation from the outgoing diff and repository tooling. Run focused owning tests, type or schema checks, build\u002Fpackage smoke when public or built surfaces change, documentation\u002Flink checks for proposals or comments, and `git diff --check`. Use broader suites when the change is cross-cutting, the user requests them, or narrow evidence cannot credibly cover the blast radius.\n\nReport accepted candidates, rejected candidates with reasons, areas surveyed, areas not inspected, files or surfaces changed, behavior deliberately preserved, and checks actually run. Keep proposals separate from implemented and verified simplifications.\n",{"name":5,"description":7},"mine","1e7390741dffd3d5041fca4ebc056071ee3ba137","skills\u002F01-agent-engineering\u002Fyq-simplify-code",5,"https:\u002F\u002Fgithub.com\u002FEthanYoQ\u002FSkill-hub","https:\u002F\u002Fgithub.com\u002FEthanYoQ","www.orz.md","Part Marketer, Part AI Explorer.","2026-11-07 14:52:29",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add EthanYoQ\u002FSkill-hub --skill yq-simplify-code",{"tool":46,"command":47},"bunx","bunx skills add EthanYoQ\u002FSkill-hub --skill yq-simplify-code",{"tool":49,"command":50},"pnpm","pnpm dlx skills add EthanYoQ\u002FSkill-hub --skill yq-simplify-code","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FEthanYoQ\u002FSkill-hub\u002Fblob\u002Fmine\u002Fskills\u002F01-agent-engineering\u002Fyq-simplify-code\u002FSKILL.md",true,[54],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"agents\u002Fopenai.yaml","REFERENCE","参考文档",227,"https:\u002F\u002Fgithub.com\u002FEthanYoQ\u002FSkill-hub\u002Fblob\u002Fmine\u002Fskills\u002F01-agent-engineering\u002Fyq-simplify-code\u002Fagents\u002Fopenai.yaml",[61,88,112,135,152,166],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":26},"01M713CBDSYARG4PXFXK2R2NNN","xhs-pharma-social-listening","Run evidence-disciplined Xiaohongshu social listening for foreign pharma employee pain points. Use when the user asks to collect and analyze notes\u002Fcomments about pharma companies, aliases, roles, compliance, medical affairs, or AI topics, then produce a cited and scored sampled-insight report. Includes independent-evidence counting, MediaCrawler batch collection, and CAPTCHA\u002F461 fallback to Agent Reach\u002FOpenCLI.","https:\u002F\u002Fgithub.com\u002FEthanYoQ\u002FSkill-hub\u002Fblob\u002Fmine\u002Fskills\u002F10-business-industry\u002Fxhs-pharma-social-listening\u002FSKILL.md",[],[68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87],"social","xhs pharma social listening","social listening","xhs","medical","counting","when","collection","batch","analyze","notes","run","opencli","fallback","captcha","agent reach","evidence","for","collect","produce",{"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":26},"01M713C8Q76ZP0WXXBRAFKS6EE","healthcare-phi-compliance","Protected Health Information (PHI) and Personally Identifiable Information (PII) compliance patterns for healthcare applications. Covers data classification, access control, audit trails, encryption, and common leak vectors. Use when code touches PHI or PII in a healthcare system, or when auditing access control, audit trails, or leak vectors.","https:\u002F\u002Fgithub.com\u002FEthanYoQ\u002FSkill-hub\u002Fblob\u002Fmine\u002Fskills\u002F10-business-industry\u002Fhealthcare-phi-compliance\u002FSKILL.md",[],[95,96,97,98,99,100,101,102,74,103,19,104,105,106,107,108,85,109,110,111],"healthcare","phi","compliance","healthcare phi compliance","pii","compliance patterns","information","access","encryption","common","audit","data","patterns","Access Control","system","applications","Auditing Access Control",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":26},"01M713C5R2GE43X45T2K75TB76","healthcare-eval-harness","Patient safety evaluation harness for healthcare application deployments. Automated test suites for CDSS accuracy, PHI exposure, clinical workflow integrity, and integration compliance. Blocks deployments on safety failures. Use when a healthcare deployment must be gated on patient-safety tests for CDSS accuracy, PHI exposure, and workflow integrity.","https:\u002F\u002Fgithub.com\u002FEthanYoQ\u002FSkill-hub\u002Fblob\u002Fmine\u002Fskills\u002F10-business-industry\u002Fhealthcare-eval-harness\u002FSKILL.md",[],[95,119,120,121,122,123,124,74,125,126,127,128,96,85,129,130,131,132,133,134],"eval","harness","healthcare eval harness","eval harness","clinical","patient","workflow","Evaluation","Safety","integrity","deployment","accuracy","tests","deployments","use","super",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":26},"01M713C2J17S91VYR7A8M696VR","healthcare-emr-patterns","EMR\u002FEHR development patterns for healthcare applications. Clinical safety, encounter workflows, prescription generation, clinical decision support integration, and accessibility-first UI for medical data entry. Use when building EMR or EHR features such as encounter workflows, prescription generation, or clinical data entry UI.","https:\u002F\u002Fgithub.com\u002FEthanYoQ\u002FSkill-hub\u002Fblob\u002Fmine\u002Fskills\u002F10-business-industry\u002Fhealthcare-emr-patterns\u002FSKILL.md",[],[95,142,107,143,144,72,123,145,74,146,147,148,127,106,149,150,151,85,110,133],"EMR","healthcare emr patterns","decision","workflows","support","clinical decision support","features","ui","as","development",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":26},"01M713BZERTXV0N8X6SW9DDVWZ","healthcare-cdss-patterns","Clinical Decision Support System (CDSS) development patterns. Drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), alert severity classification, and integration into EMR workflows. Use when building clinical decision support — drug interaction checks, dose validation, clinical scoring, or alert severity.","https:\u002F\u002Fgithub.com\u002FEthanYoQ\u002FSkill-hub\u002Fblob\u002Fmine\u002Fskills\u002F10-business-industry\u002Fhealthcare-cdss-patterns\u002FSKILL.md",[],[95,107,159,144,123,142,145,74,160,161,146,147,162,151,109,163,133,164,134,165],"healthcare cdss patterns","scoring","interaction","severity","classification","alert","decision support",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":26},"01M713BVK3PQR7V4ZKYGMWMXJD","dxy-task-clarify","用户的请求含糊、缺背景、缺资料说明、缺读者或用途时使用。先用少量带选项的追问把任务问清楚，写成任务卡，用户确认后再执行。尤其适用于医生、科研人员和药企各岗位的工作，例如「帮我分析一下这些数据」「帮我准备明天的拜访」「写个总结」「做个 PPT」「回一下这封邮件」「整理一下会议纪要」「整理一下这些文献」「帮我准备下周的讲课」「写个病例汇报」「帮我写个提示词」。用户说「先问我」「帮我理清需求」「我不知道怎么描述」「我不会问 AI」时也使用。用途、资料、读者都已说清的请求，纯翻译，以及写代码、改代码，不使用。","https:\u002F\u002Fgithub.com\u002FEthanYoQ\u002FSkill-hub\u002Fblob\u002Fmine\u002Fskills\u002F10-business-industry\u002Fdxy-task-clarify\u002FSKILL.md",[],[173,174,175,176,177,178,179,180],"clarify","dxy task clarify","task","pptx","整理","翻译","数据","总结"]