搜索

PythonReactSEOPDF
GitHub Skill

implementing-python

Implements concise, streamlined Python code matching exact architect specifications. Use when writing Python code, creating modules, or when the user asks to implement features in Python.

qte77☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Python Implementation

Creates focused, streamlined Python implementations following architect specifications exactly. No over-engineering.

Python Standards

See docs/python-best-practices.md for comprehensive Python guidelines.

Workflow

  1. Read architect specifications from provided documents
  2. Validate scope - Simple (100-200 lines) vs Complex (500+ lines)
  3. Study existing patterns in src/ structure
  4. Implement minimal solution matching stated functionality
  5. Run make validate_quick after writing code - fix formatting/type errors immediately
  6. Create focused tests matching task complexity
  7. Run make validate for full validation - fix all remaining issues

Implementation Strategy

Simple Tasks: Minimal functions, basic error handling, lightweight dependencies, focused tests

Complex Tasks: Class-based architecture, comprehensive validation, necessary dependencies, full test coverage

Always: Use existing project patterns, pass make validate

Output Standards

Simple Tasks: Minimal Python functions with basic type hints Complex Tasks: Complete modules with comprehensive testing All outputs: Concise, streamlined, no unnecessary complexity

Quality Checks

During development (after writing code):

make validate_quick  # Fast check: formatting + types + complexity + tests

Before completing any task:

make validate  # Full check: formatting + types + complexity + tests

CRITICAL: Run validation commands proactively during development. Fix issues immediately, don't wait until the end. All type checks, linting, complexity checks, and tests must pass before task completion.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!