Authoring 标志

Authoring

组织
OdradekAI
authoring

Use when writing, completing, improving, or adapting SKILL.md and agents/*.md in a bundle-plugin — integrating external skills, filling scaffolded stubs, or rewriting for better triggering and token efficiency

概览

发布者OdradekAI
代码仓库bundles-forge
技能名称authoring
星标数
227
复刻数
13
附带文件
3
许可协议Apache-2.0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 3 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OdradekAI/bundles-forge.git /tmp/bundles-forge
mkdir -p .claude/skills
cp -r /tmp/bundles-forge/skills/authoring .claude/skills/authoring
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Authoring Skill Content

Overview

Guide the authoring of effective SKILL.md files, agent definitions (agents/*.md), and supporting resources within a bundle-plugin. Good content is the difference between skills that agents consistently find and follow — and ones that get ignored or misinterpreted.

Core principle: Write for the agent's experience. Every instruction should be discoverable (good description), loadable (right size), and followable (clear, motivated instructions). Skills are the first-class source of truth in a bundle-plugin — docs and README must not contradict skill content (see bundles-forge:auditing — references/source-of-truth-policy.md).

Skill type: Hybrid — follow the execution flow rigidly (Entry Detection → Path steps → Validation), but apply writing guidance flexibly based on context. The process is discipline-enforcing; the content decisions are pattern-based.

Announce at start: "I'm using the authoring skill to help [write / complete / improve / adapt] [skill / agent] content."

Entry Detection

Determine the authoring path from context:

ContextPath
skill-inventory from blueprinting, or user requests writing new SKILL.md / agent definition from scratchPath 1: New Content
User provides an existing/external skill to add into a project, or asks to adapt a skill to match project conventionsPath 2: Integrate Content
scaffold-output directories exist but SKILL.md body has < 10 non-empty linesPath 3: Complete Content
User provides existing in-project skill-md to improve, or optimization-spec from optimizing with specific changesPath 4: Improve Content

When the target is an agent definition (agents/*.md) rather than a skill, follow the same path logic but use the agent authoring conventions from references/agent-authoring-guide.md.

Step 0: Project Context (all paths)

Before writing any content, verify scope and detect the project context:

  1. Triage: should this be a skill? — Before writing, verify the content warrants a skill:
    • One-off, project-specific conventions → belongs in CLAUDE.md / AGENTS.md, not a skill
    • Mechanically enforceable constraints (regex, schema validation) → automate with scripts, not documentation
    • Standard practices well-documented by the platform → don't duplicate, cross-reference instead
    • Skip this check when arriving from bundles-forge:blueprinting (triage already done during design)
  2. Detect project root — look for skills/ directory + package.json above the target
  3. If project exists, read 2-3 existing SKILL.md files to extract the project's conventions:
    • Description style (verb form after "Use when", scoping patterns)
    • Section structure (which headings, in what order)
    • Cross-reference format (project:skill-name prefix)
    • Token efficiency patterns (use of references/, line counts)
  4. If no project (standalone authoring), use the conventions from references/skill-writing-guide.md directly

Path 1: New Content

Write skill or agent content from scratch.

  1. Gather requirements — from skill-inventory and design document context (blueprinting), user description, or conversation context. Identify: skill purpose, triggering scenarios, expected inputs/outputs, relationship to other skills. When a design document is available, leverage its project overview, target users, and use cases to write more targeted descriptions and overviews
  2. Load writing guide — read references/skill-writing-guide.md (frontmatter conventions, description rules, instruction style)
  3. Write frontmatter — name (kebab-case matching directory), description (start with "Use when...", under 250 chars, triggering conditions only)
  4. Write Overview — 1-3 sentences: what the skill does, core principle, skill type declaration (rigid / flexible / hybrid)
  5. Write the process — step-by-step execution flow. Use imperative form. Explain why, not just what. Include at least one concrete example per key instruction
  6. Write Common Mistakes — table of pitfalls and fixes (at least 3 entries)
  7. Write Inputs / Outputs / Integration — declare artifact IDs, calling relationships, and pairing skills
  8. Check external dependencies:
    • Declaration syntax — if the skill references MCP tools or CLI commands, read references/skill-writing-guide.md "External Tool References" section for allowed-tools declaration, fallback patterns, and CLI vs MCP guidance
    • Prerequisites section — if allowed-tools declares external CLI tools (not git, python, node, npm, npx, bash, or paths under bin//scripts/), confirm the body includes a ## Prerequisites section with a Tool/Check/Install table. Read references/skill-writing-guide.md "Prerequisites Writing" for the standard format
  9. Evaluate token budget — if body exceeds 300 lines, extract heavy sections to references/. Front-load critical instructions in the first ~5,000 tokens — after context compaction, only this portion survives
  10. Run validation (see Post-Action Validation below)

Path 2: Integrate Content

Adapt an existing/external skill to fit a project's conventions and workflow.

  1. Read the incoming skill — understand its purpose, triggering scenarios, and current structure
  2. Read project conventions (from Step 0) — identify gaps between the incoming skill and project patterns
  3. Load writing guide — read references/skill-writing-guide.md (frontmatter conventions, description rules, instruction style)
  4. Adapt frontmatter — rewrite description to match project style (verb form, scoping), ensure name follows project kebab-case convention
  5. Adapt body structure — restructure sections to match project patterns (Overview, Process, Common Mistakes, Inputs/Outputs/Integration)
  6. Wire Integration section — add cross-references to existing project skills, declare Inputs/Outputs that connect to the project's workflow graph
  7. Adapt instruction style — align with project conventions (imperative form, reasoning over directives, example density)
  8. Evaluate token budget — ensure the adapted skill fits project token norms
  9. Run validation (see Post-Action Validation below)

Path 3: Complete Content

Fill in scaffolded skill stubs with substantive content.

  1. Read scaffold structure — identify which directories and stub files exist
  2. Read project conventions (from Step 0) — match the style of already-completed skills
  3. Load writing guide — read references/skill-writing-guide.md (frontmatter conventions, description rules, instruction style)
  4. Complete frontmatter — fill in description (triggering conditions, "Use when...", under 250 chars). If name is already set, verify it matches directory name
  5. Write Overview — core principle + skill type declaration
  6. Write the process — step-by-step flow based on the skill's intended purpose from the design document or user context
  7. Write remaining sections — Common Mistakes, Inputs/Outputs/Integration
  8. Create supporting resources if needed — references/ for heavy content, assets/ for templates. Read references/skill-writing-guide.md "Supporting Resources" section for thresholds. Front-load critical instructions in the first ~5,000 tokens — after context compaction, only this portion survives
  9. Run validation (see Post-Action Validation below)

Path 4: Improve Content

Enhance existing in-project content based on user feedback or optimization specs.

  1. Read existing content — understand current structure, strengths, and gaps
  2. Identify improvement targets — from user request, optimization-spec, or self-diagnosis:
    • Description not triggering reliably → rewrite following description rules
    • Token budget exceeded → extract to references/, cut redundancy, front-load critical instructions in the first ~5,000 tokens
    • Missing sections → add Overview, Common Mistakes, Inputs/Outputs
    • Instruction style issues → reframe directives as reasoning, add examples
  3. Load writing guide if needed — read references/skill-writing-guide.md (frontmatter conventions, description rules, instruction style)
  4. Apply changes — make targeted improvements. Preserve what works; don't rewrite content that already follows conventions
  5. Verify Integration section — ensure cross-references still resolve after changes, artifact IDs match consuming skills
  6. Run validation (see Post-Action Validation below)

Post-Action Validation

After completing any path, validate the authored content:

  1. Run lint — bundles-forge audit-skill <skill-directory> on each authored/modified skill
    • If audit script is unavailable: review against references/quality-checklist.md manually
  2. Act on findings — fix Critical immediately, fix Warning if straightforward, report Info as suggestions
  3. Report results — tell the user/calling skill what was validated and any remaining warnings

Common Mistakes

MistakeFix
Description summarizes workflowDescribe triggering conditions only — agents shortcut to description
Piling on MUST/ALWAYS/NEVERExplain why the rule exists — understanding beats compliance
Putting everything in SKILL.mdExtract heavy content (100+ lines) to references/; keep body under 500 lines
No examples, only abstract rulesAdd at least one concrete example per key instruction
Writing for humans, not agentsUse imperative form, clear structure, explicit output formats
Description too narrowBe pushy — list related scenarios, edge cases, alternative phrasings
Description too broadScope to the right context (e.g., "bundle-plugins" not just "any project")
Skipping project conventionsAlways read existing skills first when working in an established project
Not wiring Integration sectionEvery skill needs Called by / Calls / Pairs with to connect to the workflow graph
No defensive instructions for rigid skillsFor rigid/hybrid skills, add explicit loophole closers, rationalization tables, and red-flag lists — see Defensive Writing in references/skill-writing-guide.md
Forgetting validationAlways run bundles-forge audit-skill after authoring — catches issues before they propagate

Inputs

  • skill-inventory (optional) — list of skills and agent definitions to write, from bundles-forge:blueprinting design document
  • scaffold-output (optional) — scaffolded skill directories needing content (from blueprinting pipeline or standalone scaffolding)
  • skill-md (optional) — existing SKILL.md or agent definition to improve, complete, or adapt
  • optimization-spec (optional) — specific content changes requested by bundles-forge:optimizing (e.g., rewrite description, reduce tokens, restructure sections)

Outputs

  • skill-content — completed or improved SKILL.md files following authoring conventions (frontmatter, description, body structure, token efficiency)
  • agent-content (optional) — completed agents/*.md definitions following agent authoring conventions

Integration

Called by:

  • bundles-forge:blueprinting — dispatched as Phase 2 (content writing) in the blueprinting pipeline (write all skills + agent definitions)
  • bundles-forge:optimizing — content rewriting for description, token, and structural improvements
  • User directly — for standalone SKILL.md or agent definition authoring

Pairs with:

  • bundles-forge:scaffolding — scaffolding generates directory structure, authoring fills it with content
  • bundles-forge:auditing — auditing validates authored content for quality, cross-references, and security

附带文件

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

常见问题

Authoring AI 技能有什么作用?

Use when writing, completing, improving, or adapting SKILL.md and agents/*.md in a bundle-plugin — integrating external skills, filling scaffolded stubs, or rewriting for better triggering and token efficiency

为什么在 TypingMind 中使用 Authoring?

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

如何在 TypingMind 中安装 Authoring?

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

哪些 AI 模型可以使用 Authoring?

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

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

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

Authoring AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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