[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71G0C4YD4W4MYPZ9E95R54Y":3,"skill-same:01M71G0C4YD4W4MYPZ9E95R54Y":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M71G0C4YD4W4MYPZ9E95R54Y","author-python-code",null,"ALWAYS invoke this skill when writing or fixing implementation code for Python. NEVER write or fix Python implementation without this skill.","outcomeeng\u002Fplugins","outcomeeng","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F257335685?v=4","01M71FRVRF36XYR3HRSCGFHK2R","Outcome Engineering","01M71FRVS4BZG17DWANFJ7EPNY",1,"MIT","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fpython\u002Fskills\u002Fauthor-python-code\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"python code","python","code","author","author python code","invoke","use","writing","implementation","grep","edit","fix","write","tool","read","mypy","for","ruff","never","python3","2026-11-10 10:12:30",false,"---\nname: author-python-code\ndescription: >-\n  ALWAYS invoke this skill when writing or fixing implementation code for Python.\n  NEVER write or fix Python implementation without this skill.\nallowed-tools: Read, Write, Edit, Glob, Grep, {{! tool('use_skill') !}}, Bash(python3 -m pytest:*), Bash(python3 -m mypy:*), Bash(python3 -m ruff:*)\n---\n\n{!% require_skill 'python:python-code-standards' %!}\n\n{!% require_skill 'python:python-test-standards' %!}\n\n\u003Crepo_local_overlay>\n**Standards are pre-loaded above.** After loading, check for `spx\u002Flocal\u002Fpython.md` and `spx\u002Flocal\u002Fpython-tests.md` at the repository root. Read each file that exists and apply each as repo-local routing to the product's governing specs and decisions. A local overlay supplements skill behavior; it does not declare product truth.\n\u003C\u002Frepo_local_overlay>\n\n\u003Cobjective>\nPython implementation code that satisfies its node's established evidence and passes every selected deterministic check.\n\u003C\u002Fobjective>\n\n\u003Cmode_detection>\n**Determine the current mode:**\n\n1. **WRITE mode** - Implementation doesn't exist or selected deterministic evidence is failing\n   - Check: Selected tests fail, selected evals miss their declared threshold, or the governed implementation is absent\n   - Action: Write implementation to satisfy the selected evidence\n\n2. **FIX mode** - Implementation exists but was rejected by reviewer\n   - Check: Recent `\u002Faudit-python-code` output shows REJECT with specific issues\n   - Action: Read the rejection, fix the specific issues, re-run verification\n\n**Always check which mode before proceeding.**\n\u003C\u002Fmode_detection>\n\n\u003Cprerequisites>\n\nBefore invoking this skill:\n\n1. **Evidence must exist** - Established through `\u002Fverify`; when test is selected, expressed through `\u002Ftest` and `\u002Fauthor-python-test`\n2. **Evidence must be reviewed** - Approved by the auditor matching each selected evidence type\n3. **Spec must be loaded** - Context from `\u002Fproduct-tree:contextualize`\n4. **Standards are pre-loaded above**\n\nIf required evidence does not exist or lacks approval, return to the evidence workflow.\n\u003C\u002Fprerequisites>\n\n\u003Caudit_requirement_handoff>\n\nFor every `\u002Fverify` routing row whose verification type is audit, the authoritative requirement is the exact assertion or decision-rule text in the routed spec or decision artifact carrying `([audit:{rule-slug}])` or the pathless `([audit])` that the foundation admits for a toolchain without slug support.\n\nBefore reporting completion:\n\n1. Read the routed source artifact again and confirm the exact subject text still carries `([audit:{rule-slug}])` or the pathless `([audit])` that the foundation admits for a toolchain without slug support.\n2. Emit one row per audit routing row under `Audit requirements`:\n\n```text\n| Source artifact | Exact subject | Status |\n| \u003Cfull spx\u002F... path> | \u003Cexact assertion or rule text> | preserved |\n```\n\nThe table's row count must equal the count of audit rows in `\u002Fverify`'s routing result. When that count is zero, report `Audit requirements: none selected` instead of an empty table.\n\n\u003C\u002Faudit_requirement_handoff>\n\n\u003Cwrite_mode_workflow>\n\nRun the product's own canonical commands when it documents them — a `{{! file('root_guide') !}}` instruction, a Justfile or Makefile recipe, or a package script. The `python3 -m …` invocations below are the portable fallback for a product that ships no wrapper; report any tool the product lacks rather than skipping it.\n\n`allowed-tools` preapproves only the listed raw-tool fallbacks. A repository-canonical wrapper outside those patterns uses the runtime's normal per-call approval path; NEVER select a fallback merely to avoid that approval.\n\nResolve `\u003Cpython-source-paths>` to the implementation paths declared by the product's package metadata and named by the governed test imports or eval producer contract. Never assume a package directory name.\nSet `{node_path}` to the canonical full node path established by the loaded product-tree context.\n\n**Step 1 — Understand the selected evidence.** Read `\u002Fverify`'s routing result for the node and handle every selected type:\n\n- **Test:** Use Glob to list `{node_path}\u002Ftests\u002F*.py`, Read each linked test file, and run the focused product test command to observe its failure before implementation. The raw fallback is:\n\n```bash\npython3 -m pytest {node_path}\u002Ftests\u002F -v\n```\n\n- **Evaluate:** Read each linked eval definition, cases, materialized prompt, and real producer contract. Run the product's selected eval command to observe the current score and declared completion threshold before implementation.\n- **Audit:** Apply `\u003Caudit_requirement_handoff>` to the pathless isolated-verifier requirement and read the semantic constraint it will judge. Do not invent a test or eval artifact for it.\n\nIdentify the behavior each selected evidence artifact establishes, the expected interfaces, and the source path that implements the real subject.\n\n**Step 2 — Write implementation.** Write minimal code that satisfies the governed behavior and every selected evidence requirement.\n\n**Code standards (per `\u002Fpython-code-standards`):**\n\n```python\n# ✅ Type annotations on ALL functions\ndef process_order(order: Order, config: Config) -> OrderResult: ...\n\n\n# ✅ Source-owned semantic values in production modules\nMIN_ORDER_VALUE = 10\nMAX_ITEMS = 100\n\n\n# ✅ Dependency injection for external dependencies\n@dataclass\nclass Deps:\n    run_command: CommandRunner\n```\n\n**Step 3 — Run selected deterministic evidence.**\n\nRun the focused product test command for selected tests and the product eval command for selected evals. The Python test fallback is:\n\n```bash\npython3 -m pytest {node_path}\u002Ftests\u002F -v\n```\n\nEvery selected test must pass and every selected eval must meet its declared threshold. Record each pathless audit requirement through `\u003Caudit_requirement_handoff>` for the later isolated verifier.\n\n**Step 4 — Refactor.** Clean up while keeping every selected deterministic check passing:\n\n1. Move semantic values to the owning source module\n2. Simplify\n3. DRY\n\n**Step 5 — Self-verify.**\n\n```bash\n# Type checking\npython3 -m mypy \u003Cpython-source-paths>\n\n# Linting\npython3 -m ruff check \u003Cpython-source-paths>\n\n# Selected tests, when present\npython3 -m pytest {node_path}\u002Ftests\u002F -v\n```\n\nRun selected eval commands here as well. Type checking, linting, every selected test, and every selected eval threshold must pass before declaring complete.\n\n\u003C\u002Fwrite_mode_workflow>\n\n\u003Cfix_mode_workflow>\n\n**Step 1 — Read rejection feedback.** Find the most recent `\u002Faudit-python-code` output. Look for:\n\n- Specific file:line locations\n- Issue categories (magic values, missing DI, etc.)\n- Required fixes\n\n**Step 2 — Apply fixes.** For each rejection reason:\n\n| Rejection Category       | Fix Action                                       |\n| ------------------------ | ------------------------------------------------ |\n| Magic values             | Move semantic values to the owning source module |\n| Missing type annotations | Add types to all functions                       |\n| Direct external imports  | Refactor to dependency injection                 |\n| Deep relative imports    | Change to absolute imports                       |\n| Missing `-> None`        | Add return type                                  |\n| Security issues          | Fix the vulnerability (don't suppress)           |\n\n**Step 3 — Verify fixes.**\n\n```bash\n# Run selected tests, when present\npython3 -m pytest {node_path}\u002Ftests\u002F -v\n\n# Type checking\npython3 -m mypy \u003Cpython-source-paths>\n\n# Linting\npython3 -m ruff check \u003Cpython-source-paths>\n```\n\nRun every selected eval command after the fix and require its declared threshold. Rebuild and verify the `\u003Caudit_requirement_handoff>` rows for re-review.\n\n**Step 4 — Report what was fixed.**\n\n```markdown\n## Implementation Fixed\n\n### Issues Addressed\n\n| Issue       | Location        | Fix Applied                       |\n| ----------- | --------------- | --------------------------------- |\n| Magic value | handler.py:45   | Extracted to MAX_RETRIES constant |\n| Missing DI  | processor.py:12 | Added ProcessorDeps dataclass     |\n\n### Verification\n\nAll selected deterministic evidence passes. Types and lint clean. Every `Audit requirements` row reports `preserved` for re-review.\n```\n\n\u003C\u002Ffix_mode_workflow>\n\n\u003Ccode_patterns>\n\n**Named constants**\n\n```python\n# ❌ REJECTED\ndef validate_score(score: int) -> bool:\n    return 0 \u003C= score \u003C= 100\n\n\n# ✅ REQUIRED\nMIN_SCORE = 0\nMAX_SCORE = 100\n\n\ndef validate_score(score: int) -> bool:\n    return MIN_SCORE \u003C= score \u003C= MAX_SCORE\n```\n\n**Dependency injection**\n\n```python\n# ❌ REJECTED\nimport subprocess\n\n\ndef sync_files(src: str, dest: str) -> bool:\n    result = subprocess.run([\"rsync\", src, dest])\n    return result.returncode == 0\n\n\n# ✅ REQUIRED\n@dataclass\nclass SyncDeps:\n    run_command: CommandRunner\n\n\ndef sync_files(src: str, dest: str, deps: SyncDeps) -> bool:\n    returncode, _, _ = deps.run_command.run([\"rsync\", src, dest])\n    return returncode == 0\n```\n\n**Type annotations**\n\n```python\n# ✅ All functions have full type annotations\ndef get_user(user_id: int) -> User | None:\n    users: list[User] = fetch_users()\n    return next((u for u in users if u.id == user_id), None)\n```\n\n\u003C\u002Fcode_patterns>\n\n\u003Coutput_format>\n\n**WRITE mode output:**\n\n```markdown\n## Implementation Complete\n\n### Node: {node_path}\n\n### Files Created\u002FModified\n\n| File                 | Action  | Description   |\n| -------------------- | ------- | ------------- |\n| `product\u002Fhandler.py` | Created | Order handler |\n\n### Verification\n\n- Selected evidence: ✓ Pass\n- Types: ✓ Pass\n- Lint: ✓ Pass\n- Python standards audit: required\n- Standards: `\u002Fpython-code-standards`; overlays: `\u003Cloaded spx\u002Flocal\u002Fpython*.md paths or none>`\n\nReady for review.\n```\n\n**FIX mode output:**\n\n```markdown\n## Implementation Fixed\n\n### Issues Addressed\n\n| Issue   | Location    | Fix Applied |\n| ------- | ----------- | ----------- |\n| {issue} | {file:line} | {fix}       |\n\n### Verification\n\nAll checks pass. Ready for re-review.\n\n- Python standards audit: required\n- Standards: `\u002Fpython-code-standards`; overlays: `\u003Cloaded spx\u002Flocal\u002Fpython*.md paths or none>`\n```\n\n\u003C\u002Foutput_format>\n\n\u003Cfailure_modes>\n\n**Claude forced a test workflow onto an eval-backed node.**\n\nWhat happened: Claude listed `{node_path}\u002Ftests\u002F*.py` and required pytest RED\u002FGREEN even though `\u002Fverify` selected evaluate for the governed behavior.\n\nWhy it failed: the implementation workflow treated test as universal evidence and had no valid path for an LLM-driven producer whose structured output is scored by an eval.\n\nHow to avoid: branch only on `\u002Fverify`'s routing rows. Run pytest RED\u002FGREEN for selected tests, run the selected eval command and threshold for selected evals, and create neither artifact for an audit-only subject.\n\n**Claude dropped a pathless audit requirement after deterministic checks passed.**\n\nWhat happened: tests, mypy, and Ruff passed, then the readiness report omitted the audit-backed assertion the isolated verifier still had to judge.\n\nWhy it failed: “preserve the audit requirement” named no source artifact or observable handoff.\n\nHow to avoid: apply `\u003Caudit_requirement_handoff>`, re-read each routed audit subject tagged `([audit:{rule-slug}])` or the pathless `([audit])`, and require one `preserved` report row per audit routing row before readiness.\n\n**Claude self-attested Python standards compliance.**\n\nWhat happened: the readiness checklist claimed the implementation followed `\u002Fpython-code-standards` without a deterministic result or isolated audit verdict.\n\nWhy it failed: a subjective checkbox let the authoring context grade its own conformance.\n\nHow to avoid: emit `Python standards audit: required` with the loaded standards and overlays; publication waits for the implementation-audit projection's exact `terminalStatus: approved`.\n\n\u003C\u002Ffailure_modes>\n\n\u003Csuccess_criteria>\n\nImplementation is ready for review when:\n\n- [ ] Every selected Python test command passes and every selected eval command meets its declared threshold; a type absent from `\u002Fverify`'s routing result is not fabricated\n- [ ] The product's resolved Python type-check command passes\n- [ ] The product's resolved Python lint\u002Fformat check command passes\n- [ ] The `Audit requirements` report has one `preserved` row per audit routing row from `\u002Fverify`, or reports `none selected` when the routing result has none\n- [ ] The readiness report carries `Python standards audit: required` and names `\u002Fpython-code-standards` plus every loaded Python overlay path; after the implementation audit, publication requires the returned projection's exact `terminalStatus` to be `approved`\n- [ ] FIX mode addresses every supplied reviewer finding with a code change or a stated evidence-based rejection\n\n\u003C\u002Fsuccess_criteria>\n","{!% require_skill 'python:python-code-standards' %!}\n\n{!% require_skill 'python:python-test-standards' %!}\n\n\u003Crepo_local_overlay>\n**Standards are pre-loaded above.** After loading, check for `spx\u002Flocal\u002Fpython.md` and `spx\u002Flocal\u002Fpython-tests.md` at the repository root. Read each file that exists and apply each as repo-local routing to the product's governing specs and decisions. A local overlay supplements skill behavior; it does not declare product truth.\n\u003C\u002Frepo_local_overlay>\n\n\u003Cobjective>\nPython implementation code that satisfies its node's established evidence and passes every selected deterministic check.\n\u003C\u002Fobjective>\n\n\u003Cmode_detection>\n**Determine the current mode:**\n\n1. **WRITE mode** - Implementation doesn't exist or selected deterministic evidence is failing\n   - Check: Selected tests fail, selected evals miss their declared threshold, or the governed implementation is absent\n   - Action: Write implementation to satisfy the selected evidence\n\n2. **FIX mode** - Implementation exists but was rejected by reviewer\n   - Check: Recent `\u002Faudit-python-code` output shows REJECT with specific issues\n   - Action: Read the rejection, fix the specific issues, re-run verification\n\n**Always check which mode before proceeding.**\n\u003C\u002Fmode_detection>\n\n\u003Cprerequisites>\n\nBefore invoking this skill:\n\n1. **Evidence must exist** - Established through `\u002Fverify`; when test is selected, expressed through `\u002Ftest` and `\u002Fauthor-python-test`\n2. **Evidence must be reviewed** - Approved by the auditor matching each selected evidence type\n3. **Spec must be loaded** - Context from `\u002Fproduct-tree:contextualize`\n4. **Standards are pre-loaded above**\n\nIf required evidence does not exist or lacks approval, return to the evidence workflow.\n\u003C\u002Fprerequisites>\n\n\u003Caudit_requirement_handoff>\n\nFor every `\u002Fverify` routing row whose verification type is audit, the authoritative requirement is the exact assertion or decision-rule text in the routed spec or decision artifact carrying `([audit:{rule-slug}])` or the pathless `([audit])` that the foundation admits for a toolchain without slug support.\n\nBefore reporting completion:\n\n1. Read the routed source artifact again and confirm the exact subject text still carries `([audit:{rule-slug}])` or the pathless `([audit])` that the foundation admits for a toolchain without slug support.\n2. Emit one row per audit routing row under `Audit requirements`:\n\n```text\n| Source artifact | Exact subject | Status |\n| \u003Cfull spx\u002F... path> | \u003Cexact assertion or rule text> | preserved |\n```\n\nThe table's row count must equal the count of audit rows in `\u002Fverify`'s routing result. When that count is zero, report `Audit requirements: none selected` instead of an empty table.\n\n\u003C\u002Faudit_requirement_handoff>\n\n\u003Cwrite_mode_workflow>\n\nRun the product's own canonical commands when it documents them — a `{{! file('root_guide') !}}` instruction, a Justfile or Makefile recipe, or a package script. The `python3 -m …` invocations below are the portable fallback for a product that ships no wrapper; report any tool the product lacks rather than skipping it.\n\n`allowed-tools` preapproves only the listed raw-tool fallbacks. A repository-canonical wrapper outside those patterns uses the runtime's normal per-call approval path; NEVER select a fallback merely to avoid that approval.\n\nResolve `\u003Cpython-source-paths>` to the implementation paths declared by the product's package metadata and named by the governed test imports or eval producer contract. Never assume a package directory name.\nSet `{node_path}` to the canonical full node path established by the loaded product-tree context.\n\n**Step 1 — Understand the selected evidence.** Read `\u002Fverify`'s routing result for the node and handle every selected type:\n\n- **Test:** Use Glob to list `{node_path}\u002Ftests\u002F*.py`, Read each linked test file, and run the focused product test command to observe its failure before implementation. The raw fallback is:\n\n```bash\npython3 -m pytest {node_path}\u002Ftests\u002F -v\n```\n\n- **Evaluate:** Read each linked eval definition, cases, materialized prompt, and real producer contract. Run the product's selected eval command to observe the current score and declared completion threshold before implementation.\n- **Audit:** Apply `\u003Caudit_requirement_handoff>` to the pathless isolated-verifier requirement and read the semantic constraint it will judge. Do not invent a test or eval artifact for it.\n\nIdentify the behavior each selected evidence artifact establishes, the expected interfaces, and the source path that implements the real subject.\n\n**Step 2 — Write implementation.** Write minimal code that satisfies the governed behavior and every selected evidence requirement.\n\n**Code standards (per `\u002Fpython-code-standards`):**\n\n```python\n# ✅ Type annotations on ALL functions\ndef process_order(order: Order, config: Config) -> OrderResult: ...\n\n\n# ✅ Source-owned semantic values in production modules\nMIN_ORDER_VALUE = 10\nMAX_ITEMS = 100\n\n\n# ✅ Dependency injection for external dependencies\n@dataclass\nclass Deps:\n    run_command: CommandRunner\n```\n\n**Step 3 — Run selected deterministic evidence.**\n\nRun the focused product test command for selected tests and the product eval command for selected evals. The Python test fallback is:\n\n```bash\npython3 -m pytest {node_path}\u002Ftests\u002F -v\n```\n\nEvery selected test must pass and every selected eval must meet its declared threshold. Record each pathless audit requirement through `\u003Caudit_requirement_handoff>` for the later isolated verifier.\n\n**Step 4 — Refactor.** Clean up while keeping every selected deterministic check passing:\n\n1. Move semantic values to the owning source module\n2. Simplify\n3. DRY\n\n**Step 5 — Self-verify.**\n\n```bash\n# Type checking\npython3 -m mypy \u003Cpython-source-paths>\n\n# Linting\npython3 -m ruff check \u003Cpython-source-paths>\n\n# Selected tests, when present\npython3 -m pytest {node_path}\u002Ftests\u002F -v\n```\n\nRun selected eval commands here as well. Type checking, linting, every selected test, and every selected eval threshold must pass before declaring complete.\n\n\u003C\u002Fwrite_mode_workflow>\n\n\u003Cfix_mode_workflow>\n\n**Step 1 — Read rejection feedback.** Find the most recent `\u002Faudit-python-code` output. Look for:\n\n- Specific file:line locations\n- Issue categories (magic values, missing DI, etc.)\n- Required fixes\n\n**Step 2 — Apply fixes.** For each rejection reason:\n\n| Rejection Category       | Fix Action                                       |\n| ------------------------ | ------------------------------------------------ |\n| Magic values             | Move semantic values to the owning source module |\n| Missing type annotations | Add types to all functions                       |\n| Direct external imports  | Refactor to dependency injection                 |\n| Deep relative imports    | Change to absolute imports                       |\n| Missing `-> None`        | Add return type                                  |\n| Security issues          | Fix the vulnerability (don't suppress)           |\n\n**Step 3 — Verify fixes.**\n\n```bash\n# Run selected tests, when present\npython3 -m pytest {node_path}\u002Ftests\u002F -v\n\n# Type checking\npython3 -m mypy \u003Cpython-source-paths>\n\n# Linting\npython3 -m ruff check \u003Cpython-source-paths>\n```\n\nRun every selected eval command after the fix and require its declared threshold. Rebuild and verify the `\u003Caudit_requirement_handoff>` rows for re-review.\n\n**Step 4 — Report what was fixed.**\n\n```markdown\n## Implementation Fixed\n\n### Issues Addressed\n\n| Issue       | Location        | Fix Applied                       |\n| ----------- | --------------- | --------------------------------- |\n| Magic value | handler.py:45   | Extracted to MAX_RETRIES constant |\n| Missing DI  | processor.py:12 | Added ProcessorDeps dataclass     |\n\n### Verification\n\nAll selected deterministic evidence passes. Types and lint clean. Every `Audit requirements` row reports `preserved` for re-review.\n```\n\n\u003C\u002Ffix_mode_workflow>\n\n\u003Ccode_patterns>\n\n**Named constants**\n\n```python\n# ❌ REJECTED\ndef validate_score(score: int) -> bool:\n    return 0 \u003C= score \u003C= 100\n\n\n# ✅ REQUIRED\nMIN_SCORE = 0\nMAX_SCORE = 100\n\n\ndef validate_score(score: int) -> bool:\n    return MIN_SCORE \u003C= score \u003C= MAX_SCORE\n```\n\n**Dependency injection**\n\n```python\n# ❌ REJECTED\nimport subprocess\n\n\ndef sync_files(src: str, dest: str) -> bool:\n    result = subprocess.run([\"rsync\", src, dest])\n    return result.returncode == 0\n\n\n# ✅ REQUIRED\n@dataclass\nclass SyncDeps:\n    run_command: CommandRunner\n\n\ndef sync_files(src: str, dest: str, deps: SyncDeps) -> bool:\n    returncode, _, _ = deps.run_command.run([\"rsync\", src, dest])\n    return returncode == 0\n```\n\n**Type annotations**\n\n```python\n# ✅ All functions have full type annotations\ndef get_user(user_id: int) -> User | None:\n    users: list[User] = fetch_users()\n    return next((u for u in users if u.id == user_id), None)\n```\n\n\u003C\u002Fcode_patterns>\n\n\u003Coutput_format>\n\n**WRITE mode output:**\n\n```markdown\n## Implementation Complete\n\n### Node: {node_path}\n\n### Files Created\u002FModified\n\n| File                 | Action  | Description   |\n| -------------------- | ------- | ------------- |\n| `product\u002Fhandler.py` | Created | Order handler |\n\n### Verification\n\n- Selected evidence: ✓ Pass\n- Types: ✓ Pass\n- Lint: ✓ Pass\n- Python standards audit: required\n- Standards: `\u002Fpython-code-standards`; overlays: `\u003Cloaded spx\u002Flocal\u002Fpython*.md paths or none>`\n\nReady for review.\n```\n\n**FIX mode output:**\n\n```markdown\n## Implementation Fixed\n\n### Issues Addressed\n\n| Issue   | Location    | Fix Applied |\n| ------- | ----------- | ----------- |\n| {issue} | {file:line} | {fix}       |\n\n### Verification\n\nAll checks pass. Ready for re-review.\n\n- Python standards audit: required\n- Standards: `\u002Fpython-code-standards`; overlays: `\u003Cloaded spx\u002Flocal\u002Fpython*.md paths or none>`\n```\n\n\u003C\u002Foutput_format>\n\n\u003Cfailure_modes>\n\n**Claude forced a test workflow onto an eval-backed node.**\n\nWhat happened: Claude listed `{node_path}\u002Ftests\u002F*.py` and required pytest RED\u002FGREEN even though `\u002Fverify` selected evaluate for the governed behavior.\n\nWhy it failed: the implementation workflow treated test as universal evidence and had no valid path for an LLM-driven producer whose structured output is scored by an eval.\n\nHow to avoid: branch only on `\u002Fverify`'s routing rows. Run pytest RED\u002FGREEN for selected tests, run the selected eval command and threshold for selected evals, and create neither artifact for an audit-only subject.\n\n**Claude dropped a pathless audit requirement after deterministic checks passed.**\n\nWhat happened: tests, mypy, and Ruff passed, then the readiness report omitted the audit-backed assertion the isolated verifier still had to judge.\n\nWhy it failed: “preserve the audit requirement” named no source artifact or observable handoff.\n\nHow to avoid: apply `\u003Caudit_requirement_handoff>`, re-read each routed audit subject tagged `([audit:{rule-slug}])` or the pathless `([audit])`, and require one `preserved` report row per audit routing row before readiness.\n\n**Claude self-attested Python standards compliance.**\n\nWhat happened: the readiness checklist claimed the implementation followed `\u002Fpython-code-standards` without a deterministic result or isolated audit verdict.\n\nWhy it failed: a subjective checkbox let the authoring context grade its own conformance.\n\nHow to avoid: emit `Python standards audit: required` with the loaded standards and overlays; publication waits for the implementation-audit projection's exact `terminalStatus: approved`.\n\n\u003C\u002Ffailure_modes>\n\n\u003Csuccess_criteria>\n\nImplementation is ready for review when:\n\n- [ ] Every selected Python test command passes and every selected eval command meets its declared threshold; a type absent from `\u002Fverify`'s routing result is not fabricated\n- [ ] The product's resolved Python type-check command passes\n- [ ] The product's resolved Python lint\u002Fformat check command passes\n- [ ] The `Audit requirements` report has one `preserved` row per audit routing row from `\u002Fverify`, or reports `none selected` when the routing result has none\n- [ ] The readiness report carries `Python standards audit: required` and names `\u002Fpython-code-standards` plus every loaded Python overlay path; after the implementation audit, publication requires the returned projection's exact `terminalStatus` to be `approved`\n- [ ] FIX mode addresses every supplied reviewer finding with a code change or a stated evidence-based rejection\n\n\u003C\u002Fsuccess_criteria>\n",{"name":5,"description":7,"allowed-tools":44},"Read, Write, Edit, Glob, Grep, {{! tool('use_skill') !}}, Bash(python3 -m pytest:*), Bash(python3 -m mypy:*), Bash(python3 -m ruff:*)","main","978d51c51d68c99cffb2ba48f7cad9d2f07e5738","src\u002Fplugins\u002Fpython\u002Fskills\u002Fauthor-python-code","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins","https:\u002F\u002Fgithub.com\u002Foutcomeeng","https:\u002F\u002Foutcome.engineering","Spec-driven development for AI-assisted engineering","2026-11-14 20:33:56",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add outcomeeng\u002Fplugins --skill author-python-code",{"tool":59,"command":60},"bunx","bunx skills add outcomeeng\u002Fplugins --skill author-python-code",{"tool":62,"command":63},"pnpm","pnpm dlx skills add outcomeeng\u002Fplugins --skill author-python-code","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fpython\u002Fskills\u002Fauthor-python-code\u002FSKILL.md",true,[],[68,74,98,114,127,136],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":39},"01M71G25RZTPQG9KJ00JCHC1F7","plugin","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Ftemplates\u002Fplugin\u002FSKILL.md",[],[70],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":39},"01M71G23DCX3SV60H63HBBKQ6J","sanitize-powerpoint","ALWAYS invoke this skill when sanitizing, cleaning up, auditing, or aligning a PowerPoint (.pptx) deck — slide-master and layout structure, layout type attributes, stray fonts, non-theme colors, or layout naming. NEVER hand-edit pptx XML without this skill.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fwork\u002Fskills\u002Fsanitize-powerpoint\u002FSKILL.md",[],[81,82,83,84,85,86,87,37,88,89,90,91,92,93,94,29,95,96,24,97],"sanitize powerpoint","powerpoint","sanitize","fonts","type","cleaning","structure","attributes","theme","pptx","naming","layout","deck","up","xml","master","when",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":39},"01M71G21PQKBCDECHGVYSKPJW5","draw-excalidraw","ALWAYS invoke this skill when creating Excalidraw diagrams, visualizing workflows, architectures, or concepts. NEVER generate Excalidraw JSON without this skill.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fwork\u002Fskills\u002Fdraw-excalidraw\u002FSKILL.md",[],[105,106,107,108,109,37,24,110,111,97,112,113],"draw excalidraw","excalidraw","draw","diagrams","architectures","generate","workflows","concepts","json",{"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":120,"publishedAt":39},"01M71G1ZMNGFD37RZYM620XM2C","typescript-test-standards","TypeScript test standards enforced across all skills. Loaded by other skills, not invoked directly.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Ftypescript\u002Fskills\u002Ftypescript-test-standards\u002FSKILL.md",[],[121,122,123,124,125,33,126],"typescript","typescript test standards","test","standards","false","across",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":39},"01M71G1XBH0X1VCTR7269MDGSY","typescript-code-standards","TypeScript code standards enforced across all skills. Loaded by other skills, not invoked directly.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Ftypescript\u002Fskills\u002Ftypescript-code-standards\u002FSKILL.md",[],[121,21,134,135,124,125,33,126],"typescript code standards","code standards",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":39},"01M71G1TQ3VN45SJ75DFMJDB9W","typescript-architecture-standards","TypeScript ADR conventions enforced across architect and auditor skills. Loaded by other skills, not invoked directly.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Ftypescript\u002Fskills\u002Ftypescript-architecture-standards\u002FSKILL.md",[],[143,124,144,145,121,146,147,126,33,148,125,149],"architecture standards","typescript architecture standards","architecture","adr","architect","auditor","conventions"]