Agent skill
language-python
Python language patterns and best practices. Use when language python guidance is required or when selecting a primary language for non-trivial automation.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/language-python
SKILL.md
Key Execution Capabilities
Code Validation
- Run syntax and type checking:
uvx ruff check,uvx ty - Execute linting and formatting with ruff:
uvx ruff format - Run tests with pytest:
uvx pytest - Validate project structure and dependencies
Tool Integration
- Use
rufffor linting, formatting, and code analysis - Use
tyfor fast type checking - Leverage
uvxfor one-off tool execution without installation - Apply pytest for testing frameworks
Execution Context
- Process Python files from filesystem layer
- Generate structured reports with findings
- Create minimal, rule-compliant patches for violations
- Maintain separation between governance rules and execution tools
Error Handling
This skill provides execution-layer error handling for Python code analysis:
- Invalid Python syntax or imports
- Missing dependencies or tools
- Type checking failures (ty)
- Test execution errors
Usage Notes
- Always delegate to governance rules for policy decisions
- Focus on concrete tool execution and result processing
- Provide deterministic, tool-first analysis results
- Maintain separation between rule definition and rule application
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?