python-script-generation — for Claude Code python-script-generation, ai-suite, community, for Claude Code, ide skills, typing, # -*- coding: utf-8 -*, pylint, ruff format, Optional

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need python script generation skill. 本地化技能摘要: # Python Script Generation Skill This document defines the craftsmanship standards for generating Python scripts. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

Python Script Generation Skill
This skill mandates a strictly disciplined approach to Python scripting. It prioritizes:
Zero Noise: No introductory fluff or unnecessary comments.
Type Safety: Mandatory use of the typing module.
Modularity: Multi-repository logic sharing via base engines and thin wrappers.

# 核心主题

baneeishaque baneeishaque
[0]
[1]
更新于: 5/4/2026

技能概览

先看适用场景、限制条件和安装路径,再决定是否继续深入。

适用场景: Ideal for AI agents that need python script generation skill. 本地化技能摘要: # Python Script Generation Skill This document defines the craftsmanship standards for generating Python scripts. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: python-script-generation helps agents python script generation skill. Python Script Generation Skill This document defines the craftsmanship standards for generating Python scripts. This AI agent skill supports

适用 Agent 类型

适用场景: Ideal for AI agents that need python script generation skill.

赋予的主要能力 · python-script-generation

适用任务: Python Script Generation Skill
适用任务: This skill mandates a strictly disciplined approach to Python scripting. It prioritizes:
适用任务: Zero Noise: No introductory fluff or unnecessary comments

! 使用限制与门槛

  • 限制说明: All generated Python scripts MUST adhere to the following standards:
  • 限制说明: Shebang: MUST start with #!/usr/bin/env python3.
  • 限制说明: Linting: MUST be compliant with ruff and pylint.

关于来源内容

The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

python-script-generation 是什么?

适用场景: Ideal for AI agents that need python script generation skill. 本地化技能摘要: # Python Script Generation Skill This document defines the craftsmanship standards for generating Python scripts. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 python-script-generation?

运行命令:npx killer-skills add baneeishaque/ai-suite。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

python-script-generation 适用于哪些场景?

典型场景包括:适用任务: Python Script Generation Skill、适用任务: This skill mandates a strictly disciplined approach to Python scripting. It prioritizes:、适用任务: Zero Noise: No introductory fluff or unnecessary comments。

python-script-generation 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

python-script-generation 有哪些限制?

限制说明: All generated Python scripts MUST adhere to the following standards:;限制说明: Shebang: MUST start with #!/usr/bin/env python3.;限制说明: Linting: MUST be compliant with ruff and pylint.。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add baneeishaque/ai-suite。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    python-script-generation 已启用,可立即在当前项目中调用。

! 来源说明

此页面仍可作为安装与查阅参考。继续使用前,请结合上方适用场景、限制条件和上游仓库说明一起判断。

Upstream Repository Material

The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

python-script-generation

# Python Script Generation Skill This document defines the craftsmanship standards for generating Python scripts. This AI agent skill supports Claude Code

SKILL.md
Readonly
Upstream Repository Material
The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

Python Script Generation Skill

This document defines the craftsmanship standards for generating Python scripts. Adhering to these protocols ensures that all scripts are professional, maintainable, and pedagogical.


1. Scope & Context

This skill mandates a strictly disciplined approach to Python scripting. It prioritizes:

  • Zero Noise: No introductory fluff or unnecessary comments.
  • Type Safety: Mandatory use of the typing module.
  • Modularity: Multi-repository logic sharing via base engines and thin wrappers.
  • Documentation: Mandatory adjacent explainers using the Code Explanation skill.

2. Industrial Standards & Formatting

All generated Python scripts MUST adhere to the following standards:

  • Shebang: MUST start with #!/usr/bin/env python3.
  • Encoding: Explicitly declare encoding if special characters are used: # -*- coding: utf-8 -*-.
  • Linting: MUST be compliant with ruff and pylint.
  • Formatting: Adhere to PEP 8 standards. Use ruff format if available.

2.1 Structural Hierarchy (Skill-First Compliance)

All scripts MUST follow a predictable, industrialized structure:

  • H1 Header: Matches the YAML title in documentation.
  • Scope Statement: A brief paragraph in the docstring defining why the script exists.
  • Docstrings: MUST use triple-double quotes """...""" and follow Googley style.

3. Type Safety & Defensive Programming

Python's flexibility must be constrained by strict type safety and defensive logic.

  • Mandatory Type Hints: Every function signature MUST include type hints for all parameters and return values using the typing module (e.g., List, Dict, Optional, Union, Any).
  • Defensive I/O:
    • Always verify file/directory existence before operations using os.path.exists() or pathlib.Path.exists().
    • Use try-except blocks for all network, filesystem, and external process logic.
    • Implement robust error logging rather than silent failures.
  • Runtime Validation: Use isinstance() or schema validation for complex data structures to ensure runtime safety.

4. Core Design Philosophy: The "Industrial Standard"

All script generation MUST prioritize:

  • Extensible: Logic must be modular and designed to accommodate future parameters or requirements without refactoring the core engine.
  • Maintainable: Code must be clean, dry, and pedagogical.
  • Portable: Scripts must use relative paths or environment variables to function across different local filesystems.
  • Modular: Logic must be separated into distinct engines and wrappers.

5. Prototypical Scenario: Modular "Base Sync" Logic

To ensure industrially portable toolsets, follow this pattern for synchronization or complex automation:

5.1 The Modular Engine (base_sync.py)

Create a parameter-driven core class (e.g., SyncManager) that encapsulates the primary logic.

  • Mandatory Parameters: rules_dir, skills_dir, templates_dir, readme_template, index_template, readme_output, index_output.
  • Flexible Initialization: Allow flags like index_template and index_output to default to None.
  • Conditional Execution: Process logic only for provided directories (e.g., "Process rules if rules_dir is provided; process skills if skills_dir is provided").

5.2 Thin Wrapper Architecture

Create lightweight scripts that instantiate and run the modular engine with specific configurations:

  • Example sync_rules.py: Configure with rules_dir="." and skills_dir=None.
  • Example sync_skills.py: Configure with rules_dir=None and skills_dir=".agent/skills".

6. Documentation & Explainer Integration

The script itself is only half of the implementation.

  • Adjacent Explainers: Every generated script MUST have an adjacent explainer file following the Code Explanation skill.
  • Industrial Explainer Pattern (1.4): Use the [filename].[extension].md naming convention (e.g., my_script.py.md).
  • Pedagogical Comments: Use block comments before logic to explain the "Why" behind implementation choices.

7. Environment & Dependencies

Every implementation MUST include a dedicated section or comment block listing dependencies.

  • Verification Logic: Provide logic to autonomously verify required tools (e.g., Python version, ruff).
  • Installation Logic: Provide standard package manager commands (e.g., pip install ruff pylint).

8. Status Traceability & Performance

  • Atomic Commits: Script changes must be committed atomically following Git Atomic Commit Construction Rules.
  • Performance: Mandate efficient I/O operations (e.g., batching file reads) to ensure responsiveness.

相关技能

寻找 python-script-generation 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

本地化技能摘要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

本地化技能摘要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat. It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

本地化技能摘要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

本地化技能摘要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review. It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具