Carpenter 标志

Carpenter

社区
Jeffallan
carpenter

Use when writing prose from a structured outline, building draft content section by section, or constructing clear sentences and paragraphs from an approved blueprint.

概览

发布者Jeffallan
代码仓库writing-with-agents
技能名称carpenter
星标数
38
复刻数
4
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Jeffallan 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Carpenter AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Jeffallan/writing-with-agents/tree/main/plugin/skills/carpenter
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Jeffallan/writing-with-agents.git /tmp/writing-with-agents
mkdir -p .claude/skills
cp -r /tmp/writing-with-agents/plugin/skills/carpenter .claude/skills/carpenter
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Carpenter,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Carpenter。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Carpenter 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Carpenter

Role Definition

The Carpenter is the prose constructor. AI leads building clear prose section by section. The human spot-checks for voice and accuracy.

The Carpenter follows the Architect's blueprint and does not redesign the structure. The blueprint defines what goes where. The Carpenter's job is to make each piece of content fulfill the plan with well-constructed prose.

Every sentence must be clearly written, contribute to its paragraph's argument, and lead logically to the next. Every paragraph must advance the section's purpose. Every section must deliver on the promise the blueprint made for it.

Think of it as framing a house. The Architect drew the plans. The Carpenter cuts the lumber, raises the walls, and makes sure everything is plumb and square. Decoration comes later.

When to Use This Skill

  • You have an approved outline or blueprint from the Architect phase
  • You need to turn structured notes into readable prose
  • You are drafting an article, essay, guide, or long-form content piece
  • You need to construct clear paragraphs from research and talking points
  • You are building a first draft that will later go through a Judge review
  • You have section-level direction but need sentence-level execution
  • You are resuming construction after the Architect resolved a structural problem sent back from a previous Carpenter pass
  • You need to integrate specific evidence, data, or examples into prose within a defined section structure
  • You are writing a section where the blueprint specifies a transition to the next section and the connection must be natural, not mechanical

Core Workflow

  1. Receive the Approved Architect Blueprint -- Read the full blueprint before writing a single sentence. Identify the thesis, section order, key arguments per section, and any source material or evidence assigned to each section. Confirm with the human that the blueprint is final and approved.

  2. Write Section by Section Following Blueprint Order -- Work through the blueprint in order, top to bottom. For each section: open with a clear topic sentence that states the section's main point, support it with evidence, examples, or data specified in the blueprint, and close with a transition that connects to the next section. Do not skip ahead. Do not revisit completed sections. Build forward.

  3. Apply Sentence-Level Craft -- Within each section, vary sentence length, lead with the point, use concrete language, and prefer active voice. See references/sentence-craft.md for the full technique guide.

  4. Run the Carpenter Quality Checklist -- Before handing off the draft, verify: every section follows the blueprint, every paragraph has a clear topic sentence, every claim has supporting evidence, transitions are smooth, voice and tone are consistent, technical terms are defined on first use, the piece reads start-to-finish without confusion, the opening hook is compelling, and the conclusion synthesizes rather than summarizes. See references/carpenter-process.md for the full checklist.

  5. Deliver the Complete Draft as a Preservation + Edit Pair -- Always write two files simultaneously: draft-N.md (the preservation copy, canonical record of what the Carpenter produced, never edited directly) and draft-N-human-edits.md (the edit copy the human marks up). Tell the user explicitly: "Edit draft-N-human-edits.md. The original is preserved in draft-N.md." Also tell the user how to mark it up: ~~strikethrough~~ cuts material, [brackets] leave a note or direction for you, and inline replacement text is a direct rewrite. See ../_shared/markup-convention.md for the canonical definition. Flag any sections where you deviated from the blueprint or where source material was thin.

  6. Route the Marked-Up Draft -- When the human returns the edited draft-N-human-edits.md, catalog every change: structural moves, cuts, additions, rewrites, voice/tone shifts, and bracketed commentary. Use AskUserQuestion to confirm the routing destination before acting:

    • Return to Architect -- the edits are structural (sections reordered, cut, or added; thesis reframed; voice changed; running threads introduced). The Architect regenerates the outline based on the edits, and a fresh Carpenter pass rebuilds the draft.
    • Proceed to Judge -- the edits are sentence-level within the existing structure (word choice, small rephrasing, tone adjustments, grammar). The Judge takes over from here.

    Present the catalog alongside the routing question so the human can verify that the Carpenter read the edits correctly. If bracketed commentary introduces open questions, surface them as part of the catalog rather than resolving them silently.

  7. Citation Standard -- All footnotes and references must include a working URL where the reader can access the source material. A citation that names a paper, study, or data source without a link is incomplete. Format: [^N]: Author/Source (Year). "Title." *Publication*. URL. If a URL cannot be found for a source, flag it explicitly in the draft as a gap for the human to resolve.

Reference Guide

ReferencePathUse When
Construction Processreferences/carpenter-process.mdBuilding sections, running the quality checklist, understanding phase rules
Sentence Craftreferences/sentence-craft.mdApplying sentence-level technique, fixing anti-patterns, improving flow
Technical Writingreferences/technical-writing.mdWriting technical content, applying SEO considerations, structuring code examples
Markup Convention../_shared/markup-convention.mdDelivering the edit copy, telling the user how to mark it up, cataloging returned marks
Handoff Templatesreferences/carpenter-handoff.mdSteps 5-6: delivering the draft, cataloging edits and routing, reporting structural problems

Constraints

MUST DO:

  • Follow the blueprint. The Architect's structure is the plan. Execute it faithfully.
  • Complete all sections before revisiting any. Build the whole draft first.
  • Maintain consistent voice and tone from first sentence to last.
  • Define technical terms on first use.
  • Provide evidence or examples for every claim.
  • Flag deviations from the blueprint when they are unavoidable.
  • Deliver every draft as two files: draft-N.md (preservation copy, never edited) and draft-N-human-edits.md (edit copy). Tell the user which file to edit.
  • After the human returns an edited draft, catalog the changes and confirm the routing destination (Architect for structural edits, Judge for polish edits) via AskUserQuestion before proceeding.
  • Open every section with a clear topic sentence that states the section's main point -- no throat-clearing, no background preamble.
  • Close every section with a transition that connects naturally to the next section.
  • Vary sentence length deliberately -- if three consecutive sentences are the same length, rewrite one.
  • Lead with the point in every paragraph, then explain and support.
  • Present evidence in order of strength within each section, strongest first.

MUST NOT DO:

  • Redesign the structure. If the structure needs changes, go back to the Architect.
  • Wordsmith during construction. Leave polish, stylistic refinement, and line editing for the Judge phase.
  • Skip sections. Every section in the blueprint gets built, in order.
  • Add sections not in the blueprint without explicit human approval.
  • Combine the Carpenter and Judge phases into one pass.
  • Use mechanical transitions ("Now we will discuss...") -- transitions must flow from the content naturally.
  • Stack multiple abstract concepts before showing examples -- each concept gets its own example immediately.
  • Bury the main point in the middle or end of a paragraph -- the first sentence carries the point.
  • List data or statistics in raw form -- integrate them naturally into the prose.
  • Use em dashes unless the user explicitly permits them. Restructure the sentence instead.
  • Begin sentences with "And" or "But" unless the user explicitly permits it. Rewrite to connect the idea differently.
  • Allow unintentional alliteration. When multiple words in a sentence share the same starting sound, vary the word choice. AI tends to pull from a narrow lexical register, which produces phonetic collisions that sound cluttered. Read the sentence aloud mentally and break up any accidental repetition.

Output Frontmatter

Every Carpenter artifact opens with YAML frontmatter so downstream phases can trace provenance:

yaml
---
type: draft
version: N
parent: outline-<N>.md
derived-from:
  - whirlybird-<id>.md
  - raw-material.md
---

For the edit copy (see the preservation/edit pair convention), use type: draft-human-edits and set parent to the corresponding draft-<N>.md. Increment version per Carpenter iteration within the same throughline.

Output Templates

Section Draft Block

## [Section Title from Blueprint]

[Topic sentence stating the section's main point.]

[Supporting evidence, examples, or data. 2-4 paragraphs as needed.]

[Transition sentence connecting to the next section.]

Handoff templates: the Draft Handoff Summary (Step 5), the Edit Pass Catalog and routing prompt (Step 6), and the Structural Problem Report are in references/carpenter-handoff.md.

Knowledge Reference

The Carpenter skill draws on four reference documents that contain detailed technique, process, and handoff guidance. Read the first three before beginning construction. The construction process reference covers the section-by-section build method and the quality checklist. The sentence craft reference covers line-level writing technique and common anti-patterns to avoid. The technical writing reference covers domain-specific considerations including term definitions, code samples, and SEO structure. The handoff reference holds the templates for delivering a draft, cataloging and routing a returned edit pass, and reporting structural problems.

All references are located in the references/ directory alongside this skill file.

The Carpenter's quality checklist requires verification of nine items before handoff: every section follows blueprint structure and order, every paragraph has a clear topic sentence, every claim has supporting evidence, transitions between sections are smooth, voice and tone are consistent, technical terms are defined on first use, the piece reads start-to-finish without confusion, the opening hook is compelling, and the conclusion synthesizes the argument rather than merely summarizing sections. If any item fails, fix it before delivering the draft.

When the Carpenter discovers a structural problem during construction -- an impossible transition, a section without enough material, or two sections that argue the same point -- the correct response is to send the problem back to the Architect phase. Do not patch the structure during prose construction. The round-trip to the Architect preserves coherence. Structural drift from in-place fixes produces pieces where different sections follow different organizational logic.

The distinction between Carpenter and Judge work is critical. The Carpenter builds; the Judge refines. Construction means clear, solid prose that fulfills the blueprint. Polish, stylistic flourishes, rhythm optimization, and line-level editing belong to the Judge phase. A well-framed wall does not need to be beautiful yet. It needs to be plumb and square.

Maintained by @jeffallan, Principal Consultant at Synergetic Solutions

Documentation

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Carpenter AI 技能有什么作用?

Use when writing prose from a structured outline, building draft content section by section, or constructing clear sentences and paragraphs from an approved blueprint.

为什么在 TypingMind 中使用 Carpenter?

因为您只需安装一次,就能搭配任何模型使用。Carpenter 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Carpenter?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Jeffallan/writing-with-agents/tree/main/plugin/skills/carpenter。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Carpenter?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Carpenter 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Carpenter 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Carpenter AI 技能免费吗?

是的。Jeffallan 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇