exec-python
Skill4 starsChanged 4 days agoMITView on GitHub
Python execution idioms to embed into Codex prompts when the target project is Python — PEP 8, type hints, error handling, and packaging conventions.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accounting-bookkeepingSkill
- agent-context-persistenceSkill
- asoSkill
- brainstorm-argumentationSkill
- brainstorm-debateSkill
- brainstorm-lensesSkill
- causal-inferenceSkill
- context-disciplineSkill
- creative-briefSkill
- customer-support-opsSkill
- data-quality-checksSkill
- design-fundamentalsSkill
- ecommerce-operationsSkill
- event-taxonomySkill
- exec-coding-standardsSkill
- exec-cppSkill
- exec-csharpSkill
- exec-deliverableSkill
- exec-github-actionsSkill
- exec-goSkill
- exec-jvmSkill
- exec-phpSkill
- exec-rubySkill
- exec-rustSkill
- exec-self-testingSkill
- exec-swiftSkill
- exec-typescriptSkill
- executor-fallbackSkill
- exec-visualizationSkill
- fast-pathSkill
- final-reviewSkill
- financial-auditSkill
- hr-recruitingSkill
- influencer-strategySkill
- interview-ask-backSkill
- interview-elicitationSkill
- jev-assistSkill
- json-data-wranglingSkill
- legal-contract-basicsSkill
- localization-copySkill
- manufacturing-ops-planningSkill
- marketing-attributionSkill
- media-planningSkill
- okr-planningSkill
- pack-game-analyticsSkill
- parallel-executionSkill
- performance-marketingSkill
- personal-financeSkill
- plan-architectureSkill
- plan-backlogSkill
- plan-research-firstSkill
- preflightSkill
- profile-contentSkill
- profile-designSkill
- profile-pilotSkill
- profile-planSkill
- real-estate-analysisSkill
- review-conformanceSkill
- review-dualSkill
- The first 60 shown.
The file
Files
Python Idioms (embed when project is Python)
Python standards:
- PEP 8 naming: snake_case functions/vars, PascalCase classes, UPPER_SNAKE constants.
- Type hints on all public functions (params + return); use modern syntax the project's Python
version supports (e.g. `list[str]`, `X | None`).
- Errors: raise specific exceptions, never bare `except:`; catch the narrowest type that you can
actually handle; chain with `raise ... from err` to preserve context.
- No mutable default arguments (def f(x=[]) bug) — use None + assignment.
- Prefer comprehensions/generators over manual loops when clearer; pathlib over os.path;
f-strings over % or .format; dataclasses (or the project's model library, e.g. pydantic) over
bare dicts for structured data.
- Context managers (with) for files, locks, connections — never rely on GC for cleanup.
- Respect the project's tooling: existing linter/formatter config (ruff/black), import order,
and dependency manager (uv/poetry/pip) — add deps only via its manifest.
- Tests: pytest style if the project uses it — plain asserts, fixtures over setUp, parametrize
for case tables.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

