MP

mrwogu/promptscript

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

324 stars 质量 83 趋势 20MIT

mrwogu/promptscript 是从 https://github.com/mrwogu/promptscript. 导入的代理技能候选程序。

概览

mrwogu/promptscript 是从 https://github.com/mrwogu/promptscript. 导入的代理技能候选程序。

概述(AI 翻译)

写一次你的AI规则。每个代理都遵守。

_One Claude Code、GitHub Copilot、Cursor及另外47个工具的源代码。定义指令, 技能、代理、MCP服务器、钩子和策略一次性继承,像代码一样继承,然后编译为原生 每个tool._的文件

开始吧 · 试试操场 · 探索所有功能 · 查看目标矩阵


什么是PromptScript?

PromptScript 是一个开源的 AI 编码代理规则编译器。.prs 来源 定义指令、项目标准、限制、技能、代理、MCP服务器、钩子和 而promptscript.yaml则配置目标和扩展合规策略。该 编译器将它们转换为每个AI工具已知的原生文件:CLAUDE.md for Claude Code, .github/copilot-instructions.md 用于 GitHub Copilot,.cursor/rules 用于 Cursor,以及另外 47 个 目标。

这为什么重要?每个AI编程工具都会读取自己的指令文件,格式有自己的,来自 它有自己的路径。使用Claude代码、副驾驶和光标的团队会保留三份相同规则的副本。 他们漂移。一个档案的标准变了,其他的没变,没人注意到,直到有代理人

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。


What is PromptScript?

PromptScript is an open-source compiler for AI coding agent rules. .prs sources define instructions, project standards, restrictions, skills, agents, MCP servers, hooks, and workflows, while promptscript.yaml configures targets and the policies for skill extensions and prompts. The compiler turns them into the native files each AI tool already knows: CLAUDE.md for Claude Code, .github/copilot-instructions.md for GitHub Copilot, .cursor/rules for Cursor, and 47 more targets.

Why does this matter? Every AI coding tool reads its own instruction files, in its own format, from its own paths. A team using Claude Code, Copilot, and Cursor keeps three copies of the same rules. They drift. A standard changes in one file but not the others, and nobody notices until an agent breaks something.

PromptScript fixes the source, not the symptoms:

PromptScript source
    -> resolve inheritance, imports, and policies
    -> validate language and capabilities
    -> compile deterministic target-native files

One source of truth, Git-native review, validation in CI, deterministic output. No runtime proxy

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add mrwogu/promptscript
新手?先看 mcpskill.org 教程 →