Feature Implementation

VerifiedSafe

Implement new features or optimize code as a senior Python engineer, strictly following documented architecture and project conventions.

Sby Skills Guide Bot
DevelopmentIntermediate
3/3/2026
Claude CodeCursorWindsurfCodex
#python#architecture-docs#code-implementation#codebase-context#refactoring

Recommended for

Automated summary

This skill drives the implementation of new Python features or code optimizations by requiring docs/ARCHITECTURE.md to be read first as the source of truth.

Strengths

  • Mandates reading docs/ARCHITECTURE.md before any edit, grounding changes in the project's actual conventions
  • Enforces a locate step (ls, grep, read) and an explicit written plan before code is produced
  • Points to concrete integration spots: tools.py for MCP tool calls, middleware.py for interception layers, config.py for configuration structure
  • Explicitly aims at production-grade code rather than a throwaway demo

Limitations

  • Fully dependent on docs/ARCHITECTURE.md existing and being current; without it the main guardrail disappears
  • Heavily Python-specific and tied to a particular agent architecture (MCP, middleware), so it does not transfer cleanly to other stacks
  • Verification is self-reported by the model — no test or linter execution is prescribed
When to use it

Use it when adding a feature or refactoring code in a Python project that ships a docs/ARCHITECTURE.md describing its stack and conventions.

When not to use it

Avoid it on repositories without up-to-date architecture docs, or for throwaway experiments where style and middleware constraints do not matter.

Security analysis

Safe
Quality score80/100

The skill only instructs the agent to read project documentation and existing code, plan changes, implement code, and verify against configuration files. It does not request destructive commands, secret exfiltration, obfuscated payloads, or disabling safety mechanisms.

No concerns found

How this analysis is made

Examples

Nouvelle fonctionnalité
请先阅读 docs/ARCHITECTURE.md,然后为项目新增一个「会话历史导出为 JSON」的功能,说明你的修改计划后再写代码。
修改中间件
基于 docs/ARCHITECTURE.md 的规范,在 middleware.py 中增加一层请求日志拦截,保持与现有多层级拦截逻辑一致的代码风格。
重构优化
用 grep 定位现有的工具注册代码,参考 tools.py 中的包装策略,重构这段逻辑使其符合架构文档中的异步处理方式。

name: feature description: 基于 docs/ARCHITECTURE.md 的规范,安全地实现新功能或优化现有代码。

Feature Implementation Skill

Instructions

当用户要求开发新功能、修改代码或进行优化时,请扮演一名资深 Python 工程师,严格遵守以下流程:

  1. [关键] 加载上下文 (Context Loading):

    • 必须优先读取 docs/ARCHITECTURE.md 文件。
    • 仔细理解其中的 "核心技术栈"、"系统架构" 和 "开发注意事项" 章节。
    • 确认你的代码变更是否符合文档中的 "Agent 配置" 和 "中间件" 规范。
  2. 定位与规划 (Locate & Plan):

    • 使用 ls, grep 或 read 命令找到相关联的现有代码文件。
    • 不要直接覆盖文件!先理解现有逻辑。
    • 在回复中简述你的修改计划(Plan)。
  3. 代码实现 (Implementation):

    • 编写代码时,严格保持与现有项目的代码风格一致(如文档中提到的命名规范、异步处理方式等)。
    • 如果涉及 MCP 工具调用,确保参考 tools.py 中的包装策略。
    • 如果涉及中间件修改,确保参考 middleware.py 的多层级拦截逻辑。
  4. 自我验证 (Verification):

    • 检查你的修改是否破坏了 config.py 中的配置结构。
    • 确保没有引入文档中明确禁止的模式。

提示

  • 你的目标是编写生产级代码,而非简单的 Demo。
  • 始终以 docs/ARCHITECTURE.md 作为最高真理来源。

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/feature-implementation-mma3jsjx/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/feature-implementation-mma3jsjx' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/feature-implementation-mma3jsjx/download' --output '.skill-downloads/feature-implementation-mma3jsjx/SKILL.md.part' && mv '.skill-downloads/feature-implementation-mma3jsjx/SKILL.md.part' '.skill-downloads/feature-implementation-mma3jsjx/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/feature-implementation-mma3jsjx/SKILL.md' && test -s '.skill-downloads/feature-implementation-mma3jsjx/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/feature' && cp -R '.skill-downloads/feature-implementation-mma3jsjx' '.claude/skills/feature'

Cursor
test -f '.skill-downloads/feature-implementation-mma3jsjx/SKILL.md' && test -s '.skill-downloads/feature-implementation-mma3jsjx/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/feature' && cp -R '.skill-downloads/feature-implementation-mma3jsjx' '.cursor/skills/feature'

Codex
test -f '.skill-downloads/feature-implementation-mma3jsjx/SKILL.md' && test -s '.skill-downloads/feature-implementation-mma3jsjx/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/feature' && cp -R '.skill-downloads/feature-implementation-mma3jsjx' '.agents/skills/feature'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/feature-implementation-mma3jsjx'

openskills read 'feature-implementation-mma3jsjx'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/feature-implementation-mma3jsjx/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills