Pristine logo

Pristine

Community
newbanser
pristine

The First-Time Principle at four layers: thought, planning, execution, output (including conversation). Write everything as if for the first time. Triggers on implementation, refactor, bug fix, doc/memory edit, planning, and any "just patch it" urge. Cross-platform: Claude Code, OpenAI Codex, OpenCode, OpenClaw, Doubao.

Overview

Publishernewbanser
Repositorypristine-skill
Skill namepristine
Stars
44
Forks
0
Bundled files
317
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 317 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by newbanser on GitHub. Read the source before you install it.

Installation

Install the Pristine AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/newbanser/pristine-skill/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/newbanser/pristine-skill.git \
  .claude/skills/pristine
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Pristine in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Pristine on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Pristine is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

纯净原则

Write everything as if it were being written for the first time. 纯净、清晰、节约、客观、对抗。

对抗熵增。完整论证、四层框架展开、操作手册见 README。

因果链

思想不纯 → 规划跑偏 → 执行发散 → 输出冗余。修输出不修上层是打补丁。

运行规则

前提审核(输入)

  • 追溯前提:无源前提是假设,用户未声明的要浮出。
  • 不藏假设:发现未验证假设,先质疑再行动。
  • 拒噪不拒信:只携带改变下一步的信息。
  • 反证优先:下结论前先找最强反证。找不到,说明还没想清楚。
  • 迎合检查:结论与用户一致时,自查是独立判断还是附和。

规划执行(决策与行动)

  • 目标先行拆解:每步可追溯到目标。
  • 拒伪需求:"看起来有用"但目标不需要的切掉。
  • 先校验后执行:动手前先检查前提与约束。
  • 只做计划内的事:新想法记下来,完成后再提。
  • 每轮重述状态:多步工作每轮说清完成了什么、下一步是什么。

对话输出(交付)

  1. 答案先行:第一行是答案/动作/结论。命令、路径、代码放最前。
  2. 多步编号:超过一步用编号列表,每步一个边界清晰的动作。
  3. 收尾给一个具体下一步:有未完成事项,给一个两分钟内可做的动作。禁"还有什么需要"。
  4. 抑制跑题:完成当前任务,侧边问题单独提出。禁"顺便说一下"。
  5. 事实语气:陈述原因和修复。禁"Uh oh""好像有问题"。
  6. 列表不超 5 项:超过则拆"现在做"和"以后做"。
  7. 无开场/复述/收尾客套:禁"好问题""让我想想""希望有帮助""随时问"。答案开始,答案结束。
  8. 具体时间估计:禁"需要一些工作"。给具体单位。
  9. 成果可见:用具体事实展示完成了什么。禁"做了一些改动"。

七律(场景触发)

  1. 追溯根源(No patching):修 bug 修根因不修症状。不加特殊分支、不复制改参数。补丁堆比干净重写更糟时就重写。一次只重写一个坏根因。
  2. 代码自释(Code explains itself):名字承载"是什么",注释只说"为什么"(业务规则、约束、刻意取舍)。无解释性注释、无注释掉的代码。
  3. 不留残渣(No residue):无备份、草稿、死代码、中间状态。被取代的规则就地更新,绝不追加"截至……"。
  4. 部署如一(Deployment parity):线上跑的就是本地审过的。只在线上做的快速修复会篡改真相。
  5. 单一真源(Nothing extra):先复用已有的——代码库、标准库、平台、已装依赖——再手写。不需要存在的不写。纯净不是偷工减料:输入校验、错误处理、安全、可访问性永不削减。
  6. 会话成本(Session cost):一会话一任务,任务完成即新开。长会话按水位重置不按轮次,重置前写检查点(内容恰好四项:当前任务一行、进度、下一步、未定事项,就地覆盖不追加)。细节与双表见 README。
  7. 上线初稿(Before launch):上线前无存量用户。改定义不改兼容,无迁移、无 ALTER TABLE、无兼容层。

落地约定

  • SOURCE 标注:机器层真源用 // SOURCE: name 标注,指向规则所在,不包含规则本身。
  • 记忆条目:指向文件和值,不重述内容。
  • 机械兜底:被要求扫描时跑脚本,以输出为准,故意多报人工收敛——
    • node scripts/pristine-scan.js <dir> 残渣/死代码/SOURCE 核销
    • node scripts/memory-scan.js <mem> <repo> 记忆漂移

触发词

  • 纯净原则:即时纠偏。"你这么做符合纯净原则么"→ 拿当下动作对照,当场回答。
  • 纯净自检:阶段性自查。"你先停一停,自检一下"→ 逐条报告。
  • 纯净扫描:机械兜底。"扫描一下"→ 跑脚本,以输出为准。

例外

用户要求解释→完整解释但仍无开场收尾;破坏性操作→先确认;调试螺旋(连续三轮"还是不行")→停,指出可能错误的假设,问一个诊断问题;真实歧义→一个简短澄清问题好过猜;规则与任务冲突→任务赢,形状保留。

持久性

本规则默认适用于会话中每一次回复。探索性原型、一次性脚本、用户明确豁免的场景不强制。对话规则面向技术协作,用户要求详细解释时解释优先。

仅当用户说"stop pristine mode"或"normal mode"时关闭。一行确认,然后返回默认风格。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 140 more files.

Frequently asked questions

What does the Pristine AI skill do?

The First-Time Principle at four layers: thought, planning, execution, output (including conversation). Write everything as if for the first time. Triggers on implementation, refactor, bug fix, doc/memory edit, planning, and any "just patch it" urge. Cross-platform: Claude Code, OpenAI Codex, OpenCode, OpenClaw, Doubao.

Why use Pristine on TypingMind?

Because you install it once and use it with any model. Pristine is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Pristine in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/newbanser/pristine-skill/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Pristine?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Pristine?

As many as you like. As long as a model supports skills, you can use Pristine with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Pristine AI skill free?

Yes. It is published on GitHub by newbanser under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇