implement-from-stub
Write the minimum production code to turn the target's tests green, implementing the .py from its fixed .pyi.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Write the minimum production code to turn the target's tests green, implementing the .py from its fixed .pyi.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Compile the contract set in your head — simulate how the real application would run from the specs, and disprove (or confirm) it works before any source .py is written.
Author test stub files (.pyi) whose signatures express the domain, relationships, and compositions, as the first contract surface.
Funnel level 3 — identify building-block names and rough boundaries only, and run gap analysis.
Funnel level 1 — establish the big picture with seven broad questions, applying CIT, Laddering, and CI Perspective throughout.
Squash-merge the feature commits into dev, regenerate docstrings, and verify the whole suite plus whole-suite stubtest are clean.
Publish the delivered batch as release notes, a PR to main, or a tagged release.
| name | implement-from-stub |
| description | Write the minimum production code to turn the target's tests green, implementing the .py from its fixed .pyi. |
load_dotenv() from the workspace .env; secrets via dotenv_values() from ~/.secrets/<project>.env — read once into a frozen typed Settings, never into os.environ. IF an auth-dependent test fails on credentials THEN stop and ask the user with suggestions — do not investigate the secret.if typing.TYPE_CHECKING: so stubtest does not pull heavy runtime deps for type-only references.