sno-ai/sno-station-skills / plugins/sno-station-standalone/skills/python-coder
python-coder
VerifiedImplement and refactor production Python, FastAPI, Pydantic, async, and migrations.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 7.3 KB |
| references/advanced-patterns.md | markdown | 8.6 KB |
| scripts/selftest/run-selftest.shexecutable | script | 1.2 KB |
scripts/selftest/run-selftest.sh
View on GitHub#!/usr/bin/env bash
# Text contract for this skill only. Reads nothing outside this payload.
set -Eeuo pipefail
selftest_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
skill="$(cd -- "$selftest_dir/../.." && pwd)/SKILL.md"
python3 - "$skill" <<'PY'
import pathlib
import sys
text = " ".join(pathlib.Path(sys.argv[1]).read_text(encoding="utf-8").split())
rules = {
"honor the declared runtime": "Never emit syntax, stdlib APIs, or typing features newer than the target.",
"no backward compatibility": "No legacy paths, compatibility wrappers, migration shims, dual-format support, or fallback behavior unless explicitly requested.",
"no speculative work": "no speculative abstractions or configurability, no error handling for scenarios that cannot happen.",
"deterministic decisions stay in code": "belong in code, never in a model call.",
"claims trace to a command run": "every claim must trace to a command actually run this session",
"no done over failing checks": "never report done with errors outstanding.",
}
missing = [name for name, phrase in rules.items() if phrase not in text]
if missing:
raise SystemExit(f"python-coder: missing load-bearing rules: {', '.join(missing)}")
PY
printf 'python-coder text contract passed\n'
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |