python-conventions
Python and shell-script conventions for CAST projects.
Skill by ek33450505
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ek33450505-python-conventions
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/python-conventions
What's inside
- Skill name
python-conventions- Description
- Python and shell-script conventions for CAST projects. Load when writing, reviewing, or debugging Python scripts, hook scripts, or files under scripts/ or bin/. Covers stdlib-only policy, DB access patterns, exit codes, idempotency, stdin parsing, and hook script conventions.
- License
- MIT
- Instructions
- 23 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- allowed-tools: must be a space-separated string
- files: referenced but missing: scripts/cast_db.py
Files (1)
- SKILL.md
SKILL.md (first lines)
# Python Conventions
- Stdlib only unless task spec allows pip installs
- DB access: use `scripts/cast_db.py` abstraction (`db_write`, `db_query`, `db_execute`)
- DB path: `os.environ.get('CAST_DB_PATH', os.path.expanduser('~/.claude/cast.db'))`
- Error handling: catch specific exceptions, log to `~/.claude/logs/`, never crash the hook pipeline
- Schema changes: use `CREATE TABLE IF NOT EXISTS` and `ALTER TABLE ... ADD COLUMN` with try/except for idempotency
- Stdin parsing: `json.loads(os.environ.get("CAST_INPUT", ""))` pattern with try/except
- Use f-strings for string formatting
- Type hints on function signatures where practical
- No global state — each script execution is independent
## Script File Conventions
- Python scripts: use stdlib only unless the task spec explicitly allows pip installs
- DB access: always use `os.environ.get('CAST_DB_PATH', os.path.expanduser('~/.claude/cast.db'))` for path resolution
- Exit codes: 0 = success, 1 = error; print errors to stderr, results to stdout
- Idempotency: migration scripts must be safe to run multiple times (check before CREATE/ALTER)
- All new scripts written here must ALSO be committed to the repo `scripts/` directory — never write only to `~/.claude/scripts/`
- Hook scripts that emit events: use `cast_emit_event` from `~/.claude/scripts/cast-events.sh`
- JSON output scripts: always emit valid JSON even on error (`{"error": "..."}`)From ek33450505/claude-agent-team, MIT.
More from ek33450505/claude-agent-team
- 0.626score
git-activity
ek33450505
Scan project repositories for yesterday's git activity.
SkillAFreshness: A★ 8Claude Code +9 - 0.626score
briefing-writer
ek33450505
Assemble morning briefing sections into a structured markdown file.
SkillAFreshness: A★ 8Claude Code +9 - 0.623score
plan
ek33450505
Activate the heavy planner→/orchestrate chain — write a structured plan file with Agent Dispatch Manifest, then invoke the /orchestrate skill to execute it in…
SkillAFreshness: A★ 8Claude Code +9 - 0.623score
wizard
ek33450505
Multi-step workflow with human-approval gates before destructive operations.
SkillAFreshness: A★ 8Claude Code +9 - 0.623score
merge
ek33450505
Git merge, rebase, and conflict resolution specialist.
SkillAFreshness: A★ 8Claude Code +9 - 0.623score
typescript-conventions
ek33450505
TypeScript, React, and UI accessibility conventions for CAST projects.
SkillAFreshness: A★ 8Claude Code +9 - 0.623score
deep-research
ek33450505
Deep research harness — fan-out web searches, fetch sources, adversarially verify claims, synthesize a cited report.
SkillAFreshness: A★ 8Claude Code +9 - 0.620score
agent-registry
ek33450505
Full CAST agent registry with model assignments.
SkillAFreshness: A★ 8Claude Code +9 - 0.620score
orchestrate
ek33450505
Execute a CAST plan by reading the Agent Dispatch Manifest and dispatching agents in dependency order — parallel batches simultaneously, sequential batches…
SkillAFreshness: A★ 8Claude Code +9 - 0.620score
seo-checklist
ek33450505
SEO and GEO (Generative Engine Optimization) checklist for web projects.
SkillAFreshness: A★ 8Claude Code +9 - 0.620score
stack-reference
ek33450505
Full tech stack reference and dev command cheatsheet.
SkillAFreshness: A★ 8Claude Code +9 - 0.620score
project-catalog
ek33450505
Full project catalog — project paths, stacks, remotes, and runtime paths.
SkillAFreshness: A★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jun 15, 2026 (4 months ago)
- Last release
- Oct 16, 2026 (14 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ek33450505/claude-agent-team
- Website
- castframework.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ek33450505
- 0.626score
git-activity
ek33450505
Scan project repositories for yesterday's git activity.
SkillAFreshness: A★ 8Claude Code +9 - 0.626score
briefing-writer
ek33450505
Assemble morning briefing sections into a structured markdown file.
SkillAFreshness: A★ 8Claude Code +9 - 0.623score
wizard
ek33450505
Multi-step workflow with human-approval gates before destructive operations.
SkillAFreshness: A★ 8Claude Code +9 - 0.623score
merge
ek33450505
Git merge, rebase, and conflict resolution specialist.
SkillAFreshness: A★ 8Claude Code +9 - 0.623score
deep-research
ek33450505
Deep research harness — fan-out web searches, fetch sources, adversarially verify claims, synthesize a cited report.
SkillAFreshness: A★ 8Claude Code +9 - 0.623score
typescript-conventions
ek33450505
TypeScript, React, and UI accessibility conventions for CAST projects.
SkillAFreshness: A★ 8Claude Code +9
Cite this page
python-conventions skill. Agent Mart. https://agentmart.dev/skills/ek33450505-python-conventions (last updated 2026-10-24)