← Back to Skills Marketplace
127
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install code-write
Description
Implement or modify code in the current project to match style and handle edge cases, focusing only on requested feature, bugfix, or test updates.
README (SKILL.md)
代码编写
先读上下文,再只改需求要求的部分。
工作流
- 修改前先读受影响文件,以及附近的调用方、测试和配置。
- 严格匹配项目现有命名、格式、结构和异常处理风格。
- 只实现用户要求的行为,不顺手扩功能。
- 明确处理非法输入、空状态、资源缺失和失败路径。
- 不写死密钥、不伪造逻辑、不留下死代码和无用变量。
- 只有在代码难读时才补简短注释。
- 项目已有测试体系时,优先补或更新最相关的测试。
- 改完后运行最小必要验证。
约束
- 没读过的文件不要直接改
- 没要求的新功能不要自行添加
- 除非项目本来就这样做,否则不要硬编码环境值
- 优先最小且安全的差异
输出
- 修改了哪些文件
- 实现理由的简短说明
- 已做验证,或未验证的阻塞原因
Usage Guidance
This skill is coherent for editing code in your repository and does not ask for external credentials or installs. Before enabling it, consider: (1) the agent will read files in the workspace — remove or exclude any sensitive files (API keys, .env, private configs) you don't want inspected; (2) review changes (use version control or PRs) before accepting them; (3) running the skill's recommended verification (tests/build) may execute project code and could access network resources or secrets configured in the environment — run in an isolated sandbox if unsure; (4) prefer granting the agent access only to the repo or directory it truly needs. If you want stronger guarantees, require manual review of all edits or run the skill in a restricted environment.
Capability Analysis
Type: OpenClaw Skill
Name: code-write
Version: 0.1.0
The skill bundle 'code-write' is a standard utility for AI-assisted code modification. The instructions in SKILL.md emphasize safe coding practices, such as matching existing project styles, handling edge cases, avoiding hardcoded secrets, and performing minimal necessary changes. There are no indicators of malicious intent, data exfiltration, or prompt injection attacks.
Capability Assessment
Purpose & Capability
Name and description match the runtime instructions: the skill is an in-repo code-writing helper. It requires no external binaries, credentials, or installs — appropriate for the stated purpose.
Instruction Scope
SKILL.md explicitly directs the agent to read affected files, nearby callers, tests, and configs and to run minimal verification. This is appropriate for modifying code, but it implicitly grants the agent broad read access to the workspace; that may include sensitive config or credential files present in the repo. The instructions do not direct exfiltration or external network calls, nor do they request secrets, but users should be aware the agent will inspect repository files to produce edits.
Install Mechanism
Instruction-only skill with no install spec or external downloads. Lowest-risk install surface.
Credentials
No environment variables, credentials, or config paths are requested. The lack of requested secrets is proportional to a local code-editing task.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request persistent system presence or modify other skills' configuration. Autonomous invocation remains possible (platform default) but is not combined with other concerning privileges.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install code-write - After installation, invoke the skill by name or use
/code-write - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
initial release
Metadata
Frequently Asked Questions
What is Code Write?
Implement or modify code in the current project to match style and handle edge cases, focusing only on requested feature, bugfix, or test updates. It is an AI Agent Skill for Claude Code / OpenClaw, with 127 downloads so far.
How do I install Code Write?
Run "/install code-write" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Code Write free?
Yes, Code Write is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Code Write support?
Code Write is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Code Write?
It is built and maintained by sf0799 (@sf0799); the current version is v0.1.0.
More Skills