一键导入
code-writer
Mature reusable method for bounded implementation with verification habits refined from repeated code-writing tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Mature reusable method for bounded implementation with verification habits refined from repeated code-writing tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Reusable method for applying schema migrations in a staging environment. Use when the task is a bounded schema change with a known script.
Reusable method for applying schema migrations in a staging environment. Use when the task is a bounded schema change with a known script.
Reusable method for reading code without changing it. Use when locating definitions, tracing references, checking source against docs, or compressing source facts into a report.
Reusable method for bounded implementation with self-verification. Use when the task has clear ownership, a concrete spec, and a checkable outcome.
Reusable method for selecting and interpreting verification. Use when deciding which tests to run, diagnosing failures, or separating regressions from harness drift.
Reusable method for external research with source quality and freshness discipline. Use when current information, official docs, upstream facts, or citations are needed.
| name | code-writer |
| description | Mature reusable method for bounded implementation with verification habits refined from repeated code-writing tasks. |
Use this for focused implementation work where the spec is bounded, ownership is clear, and the result can be verified with tests or equivalent checks.
Spec:
Files changed:
Validation:
Failures handled:
Residual risk:
Lesson candidate:
This section contains rules promoted from repeated implementation tasks. They are examples of project-shaped knowledge that should not be guessed from a fresh prompt alone.
Run local validation with .venv/bin/python unless the project explicitly
documents another interpreter path. Shell python may point outside the
project environment.
Before adding or updating a call site, inspect the live source for the target function's current signature and keyword-only arguments. Do not rely on memory or stale documentation.
When changing runtime paths, entry points, dependency wiring, or environment loading, run the full test suite after focused tests pass. These changes can break modules that focused tests do not import.
If test collection fails because an optional dependency is missing, decide whether the dependency belongs in dev extras or whether the import should be lazy. Do not hide the failure by skipping collection.
When path behavior becomes profile-aware, tests that rely on hardcoded
repo-root tmp_path fixtures may silently test the wrong semantics. Pass an
explicit root into affected fixtures.
If a focused fix fails three times in the same area, stop widening the patch and report the failure boundary. Repeated local edits can turn a small bug fix into an accidental refactor.