Token导航 LogoToken导航

Agent Skill · 研究检索

coding-prompt(编码提示)

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

coding-prompt 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 20,233。

总安装 5,288周安装 216GitHub Stars 2下载 1,693核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:coding-prompt(编码提示)
来源仓库:https://github.com/neuhanli/coding-prompt
安装命令:
openclaw skills install coding-prompt
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install coding-prompt

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

Coding-prompt 优化编程提示词,通过约束与验证提升指令清晰度与可执行性。适合规范任务边界、统一输出格式或拆分操作步骤的场景。使用时需保留真实业务约束,避免将示例当作硬性规则。在 OpenClaw 中通过 clawhub 安装,适用于提示词工程优化。涉及自动执行时应明确确认步骤与失败处理机制,降低风险。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install coding-prompt;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

coding-prompt 怎么安装?

在终端执行 openclaw skills install coding-prompt。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

coding-prompt 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

coding-prompt 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

coding-prompt 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

coding-prompt 用的人多吗?

公开数据是累计安装 5,288 次,近一周安装 216 次,下载 1,693 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

coding-prompt 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
coding-prompt

编码提示 · 本页

5,2882只读MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
coding-prompt
version
1.1.0
description
AI coding prompt optimizer and coach. This skill should be used whenever the user is writing programming prompts or instructions to an AI during active coding sessions— including when starting new features, correcting AI's direction, reviewing code, or requesting tests. Trigger when: explicit request to optimize/improve/refine a prompt, the user activates this skill (激活编程提示词), or during coding tasks where instructions to AI are vague, missing constraints, missing acceptance criteria, or could benefit from prompt engineering best practices. Also trigger when the user says "更新技能" or "update skill" to evolve this skill's knowledge base. Do NOT trigger for non-coding prompts or general chat.

Coding Prompt — AI 编程提示词最佳实践

Activate: 激活编程提示词 | 优化提示词 | improve my prompt

Purpose

This skill improves the quality of coding prompts sent to AI by diagnosing weaknesses, applying proven principles, and proactively detecting common AI failure patterns during active coding sessions.

Table of Contents

SectionContentLocation
1Prompt Diagnosis Checklistreferences/checklist.md
2Core Principlesreferences/principles.md
3Communication Patternsreferences/patterns.md
4Workflow Templatesreferences/templates.md
5Anti-Pattern Quick Referencereferences/anti-patterns.md
6Structural Wisdomreferences/structure.md
7Evolution ProtocolBelow (this file)

How This Skill Works

This skill operates in two modes. Detailed rules are stored in references/ files — load them only when needed per the instructions below.

Mode 1: Explicit Optimization (100% reliable)

When explicit prompt optimization is requested — via trigger phrases, pasting a prompt for review, or prefacing an instruction with "优化提示词" — perform a full diagnosis and return a rewritten/improved version of the prompt.

Trigger phrases:

  • 优化提示词: <your prompt> — Rewrite the prompt following all principles
  • 激活编程提示词 / activate coding-prompt — Enter active mode
  • improve my prompt / 优化提示词 / check my prompt
  • prompt review / 提示词审查

Before starting diagnosis, load all reference files:

read_file(references/checklist.md)
read_file(references/principles.md)
read_file(references/patterns.md)
read_file(references/templates.md)
read_file(references/anti-patterns.md)
read_file(references/structure.md)
read_file(references/learnings.md)

Then run through the checklist and apply principles to rewrite the prompt.

Output format for optimization:

## 原始提示词
<user's original prompt>

## 诊断结果
- D2 缺少约束: <what's missing>
- D4 缺少场景: <what's missing>

## 优化后的提示词
<rewritten prompt with improvements applied>

Mode 2: Active Monitoring (high-priority signals only)

Once activated (Mode 1 triggered), the skill remains active for the rest of the session. In this mode, proactively alert when only these high-priority signals are detected:

AlertSignalResponse
🚨 Fake completionD12AI claims "done" but code contains stubs/TODOs/placeholder returns/sample data. Append: [coding-prompt] ⚠️ 检测到假完成:代码包含 <具体问题>,请替换为真实实现。
🚨 Rule-based biasD11AI chooses hardcoded rules/regex/scoring when LLM-native would be better. Append: [coding-prompt] ⚠️ 检测到规则匹配偏见:建议使用 LLM 原生能力替代硬编码 <具体规则>。

For all other signals (D1-D10): Do NOT proactively interrupt. Only mention them if explicitly asked for a prompt review.

Do NOT load reference files in Mode 2. The rules above are sufficient for proactive monitoring.

Session persistence note: Mode 2 relies on conversation context. If context degradation is suspected (~10+ turns without explicit reference to active monitoring), re-confirm active status before issuing alerts.

Golden rule: The user's original instruction always takes priority. Alerts and suggestions are additive, never overriding.

Evolution on demand: When the user says "更新技能" / "update skill", follow Section 7 below.


7. Evolution Protocol / 进化协议

Trigger: 更新技能 / update skill Target: references/learnings.md ONLY

File Permission Matrix

FilePermissionReason
SKILL.md🔒 READ-ONLYConstitution — defines the skill
references/checklist.md🔒 READ-ONLYStructural checklist — completeness over flexibility
references/principles.md🔒 READ-ONLYAxiom-level rules — universal best practices
references/patterns.md🔒 READ-ONLYCommunication mechanics — objective patterns
references/anti-patterns.md🔒 READ-ONLYCurated reference — grow via learnings promotion
references/templates.md🔒 READ-ONLYWorkflow structure — behavioral consistency
references/structure.md🔒 READ-ONLYArchitecture wisdom — condensed condition→action
references/learnings.md✅ APPEND-ONLYPersonal experience layer — the sole evolution target

Rule: Any attempt to modify files outside learnings.md is a violation. Refuse and redirect to learnings.md.

Step 1: Review

Read references/learnings.md first to understand existing experience. Then analyze the current coding session for:

  • Patterns that worked well and are reusable (not one-off)
  • Mistakes or pitfalls worth documenting as warnings
  • Personal preferences or conventions discovered during collaboration

Filter criteria — only extract experiences that meet ALL of:

  1. Reusable: applicable to future sessions, not specific to one task
  2. Non-redundant: not already covered by existing rules in SKILL.md or references/
  3. Actionable: can be stated as a clear rule or guideline

Step 2: Propose

Present a structured proposal in the format of learnings.md sections:

## 经验沉淀提案

### 被验证有效的模式
- [模式名称]
  - **规则**: <具体做法,一句话>
  - **触发场景**: <什么情况下适用>
  - **来源**: <本次会话的什么具体情况>

### 反模式(踩过的坑)
- [问题名称]
  - **表现**: <AI容易犯的具体错误>
  - **预防**: <在prompt中加什么约束>
  - **来源**: <本次会话的具体情况>

### 个人偏好
- [偏好项]
  - **规则**: <具体偏好描述>

If a section has no content, omit it from the proposal.

Step 3: Confirm (MANDATORY)

Wait for explicit user confirmation before making ANY changes. This is the highest priority rule in this skill.

Step 4: Write to learnings.md

After confirmation:

  1. Read current references/learnings.md
  2. Structure the new content to match existing format (consistent style, concise wording)
  3. Check if any new entry overlaps or supersedes an existing entry — if so, consolidate by updating the existing entry rather than adding a duplicate
  4. Append or update entries in the appropriate section
  5. Update the version number and "最后更新" date in the header
  6. Write the complete revised file

Anti-Bloat Guidelines

  • Architect-level refinement: Each entry must be distilled with the precision of a senior architect — abstract the pattern, not the incident. One insight per entry, no padding.
  • Entry format: Each entry must be 2-4 lines max. No verbose narratives, no multi-paragraph case studies.
  • Consolidation over accumulation: When a new entry overlaps an existing one, merge and refine rather than append. The goal is a growing body of wisdom, not a growing file.
  • Style consistency: All entries must follow the same format as existing ones. Do not introduce new section types.

平台分布

OpenClaw

85.47%
按下载量换算1,447

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills