New Command Docs 标志

New Command Docs

社区热门
tractorjuice
new-command-docs

This skill should be used when a new ArcKit command has been added and documentation needs updating across the repository. Triggers: update documentation for new command, update command count, add command to README, update DEPENDENCY-MATRIX, update docs/index.html, new command documentation checklist, update all docs for new command, add command to dependency matrix, update command tables, sync documentation after adding command, I added a new command what do I update, post-command documentation, new slash command docs.

概览

发布者tractorjuice
代码仓库arc-kit
技能名称new-command-docs
星标数
2.3K
复刻数
282
附带文件
3
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 3 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tractorjuice/arc-kit.git /tmp/arc-kit
mkdir -p .claude/skills
cp -r /tmp/arc-kit/.claude/skills/new-command-docs .claude/skills/new-command-docs
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

New Command Documentation Checklist

When a new ArcKit command is added, 11 files across the repository must be updated to reflect the new command. This skill provides the complete checklist and exact patterns for each update.

Pre-flight Checks

Before starting, verify these files exist for the new command:

  1. Command file: plugins/arckit-claude/commands/{name}.md (required)
  2. Template file: .arckit/templates/{name}-template.md AND plugins/arckit-claude/templates/{name}-template.md (required for document-generating commands, skip for utility commands like customize, pages, trello)
  3. Guide file: docs/guides/{name}.md AND plugins/arckit-claude/guides/{name}.md (create if missing, see Guide Creation below)

If any required file is missing, create it before proceeding. Templates should be identical between .arckit/templates/ and plugins/arckit-claude/templates/. Guides should be identical between docs/guides/ and plugins/arckit-claude/guides/ (except migration.md and customize.md which have path differences).

Determine the New Count

Read the current count from plugins/arckit-claude/.claude-plugin/plugin.json (the description field contains the current count, e.g., "50 slash commands"). The new count is current + 1.

Update Checklist

Work through these 11 files in order. For exact grep patterns, insertion formats, and line-level detail, see references/file-locations.md.

1. README.md (root)

Update 4 count locations and add a command table row:

  • Line ~35: "all {N} commands, autonomous agents" (Claude Code plugin section)
  • Line ~41: "all {N} commands, templates, scripts" (Gemini extension section)
  • Line ~742: "All {N} ArcKit commands with maturity status" (Command Reference intro)
  • Line ~995: "the {N}x{N} command matrix" (Reference packs section)
  • Command table: Add a row in the appropriate category section (Foundation, Strategic Context, Requirements & Data, Research & Strategy, Cloud Research, Data Source Discovery, Procurement, Design & Architecture, Implementation, Quality & Governance, UK Government, UK MOD, Documentation & Publishing). Insert alphabetically within the category.

Table row format:

markdown
| `/arckit.{name}` | Description of what the command does | [v1](link) [v2](link) | Status |

Status values: Live, Beta, Experimental

2. docs/index.html

Update 8 count locations and add an HTML command card. See references/html-patterns.md for the full HTML template.

Count locations (search for the old number):

  • <meta name="description"> tag (~line 6)
  • <meta property="og:description"> tag (~line 10)
  • Intro paragraph "{N} AI-assisted commands" (~line 459)
  • <h2> heading "{N} ArcKit Commands" (~line 670)
  • <span id="visible-count"> and adjacent text (~line 729): Showing <span id="visible-count">{N}</span> of {N} commands (TWO numbers on this line)
  • Gemini CLI section "all {N} commands" (~line 1423)
  • Footer "All {N} commands documented" (~line 1558)

Important: The visible-count span and its adjacent count BOTH need updating. The JavaScript filter counter uses the span, while the static text shows the total.

3. plugins/arckit-claude/.claude-plugin/plugin.json

Update the description field count:

json
"description": "The Enterprise Architecture Governance Harness - {N} slash commands across strategy, architecture, delivery, and assurance"

4. .claude-plugin/marketplace.json (root)

Update the description field count:

json
"description": "{N} slash commands across strategy, architecture, delivery, and assurance — including UK Government compliance"

5. plugins/arckit-claude/README.md

Check for any command count references and update. Look for patterns like "{N} commands" or "{N} slash commands".

6. docs/DEPENDENCY-MATRIX.md

This is the most complex update. See references/dependency-matrix-format.md for detailed format.

Steps:

  1. Add column: Add | {name} to the header row (line 20) in alphabetical position among existing commands
  2. Add cells: Add | | (empty cell) to every existing row at the same column position
  3. Fill dependencies: In each existing command's row, fill in M/R/O if the new command consumes that command's output
  4. Add row: Add a new row for the command with its dependencies on other commands
  5. Update tier groupings: Add the command to the appropriate tier section (Tier 0-12)
  6. Update critical paths: Add to relevant workflow paths if applicable
  7. Update version section: Bump "Commands Documented" count
  8. Add changelog entry: Add a dated entry at the top of the Changelog section

Changelog entry format:

markdown
### YYYY-MM-DD - Added {Command Name} Command
- **Added**: `/arckit.{name}` command ({N}th ArcKit command) for {description}
- **Added**: {name} row and column to dependency matrix
- **Updated**: Tier {X} {Tier Name} to include {name} command
- **Dependencies**: {dep1} (M), {dep2} (R), {dep3} (O)
- **Consumed by**: {consumer1} (M/R/O), {consumer2} (M/R/O)

7. docs/WORKFLOW-DIAGRAMS.md

If the new command fits into existing workflow paths, add it to the relevant Mermaid diagrams. See references/dependency-matrix-format.md for Mermaid node format and style colors.

Not all commands need to appear in workflow diagrams. Skip if the command is a utility (customize, pages) or doesn't fit the sequential workflow model.

8. docs/README.md

Add a row to the Documentation Coverage table and update the coverage count:

markdown
| `/arckit.{name}` | [{name}.md](guides/{name}.md) | Complete |

Insert alphabetically or in the same position as other files in its category. Update the coverage line:

markdown
**Coverage**: {N}/{N} commands documented (100%)

9. CLAUDE.md

Update if needed:

  • Command count references: Search for "50 commands" or similar counts
  • Multi-instance types: nothing to update here. Since #723 MULTI_INSTANCE_TYPES lives only in config/doc-types.mjs, which generate-document-id.mjs imports; adding the code there is the whole job
  • Agent System table: If the command delegates to an agent, add it to the agent table

10. CHANGELOG.md (root - CLI changelog)

Add an entry under a new or existing version section:

markdown
### Added
- `/arckit.{name}` command for {description}

11. plugins/arckit-claude/CHANGELOG.md (plugin changelog)

Add an entry under a new or existing version section:

markdown
### Added
- `/arckit.{name}` command for {description}

Guide Creation

If docs/guides/{name}.md doesn't exist, create one based on an existing guide as a template. Good templates to copy from:

  • Simple command: docs/guides/plan.md or docs/guides/adr.md
  • Research command: docs/guides/research.md or docs/guides/aws-research.md
  • Compliance command: docs/guides/principles-compliance.md
  • Operations command: docs/guides/devops.md

A guide should contain:

  1. Title and description
  2. Prerequisites (which artifacts should exist first)
  3. Usage examples with sample arguments
  4. What the command produces (document type, filename pattern)
  5. Tips and best practices

Remember to copy the guide to both docs/guides/ and plugins/arckit-claude/guides/.

Post-Update Verification

After completing all updates, verify no old counts remain:

  1. Grep for old count: Search the entire repo for the old number pattern (e.g., "50 commands", "50 slash commands", "50 AI-assisted"). Any remaining matches are locations you missed.
  2. Grep for new count: Verify the new count appears in all expected locations.
  3. Check the command exists in: README.md table, docs/index.html card, docs/DEPENDENCY-MATRIX.md row/column, docs/README.md coverage table.
bash
# Example verification (replace 49 with old count, 50 with new count)
grep -rn "50 commands\|50 slash commands\|50 AI-assisted\|50/50" README.md docs/index.html plugins/arckit-claude/.claude-plugin/plugin.json .claude-plugin/marketplace.json docs/README.md docs/DEPENDENCY-MATRIX.md

Run Converter

After all documentation updates, regenerate Codex and Gemini formats:

bash
python scripts/converter.py

References

附带文件

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

常见问题

New Command Docs AI 技能有什么作用?

This skill should be used when a new ArcKit command has been added and documentation needs updating across the repository. Triggers: update documentation for new command, update command count, add command to README, update DEPENDENCY-MATRIX, update docs/index.html, new command documentation checklist, update all docs for new command, add command to dependency matrix, update command tables, sync documentation after adding command, I added a new command what do I update, post-command documentation, new slash command docs.

为什么在 TypingMind 中使用 New Command Docs?

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

如何在 TypingMind 中安装 New Command Docs?

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

哪些 AI 模型可以使用 New Command Docs?

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

New Command Docs 可以搭配多少个 AI 模型使用?

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

New Command Docs AI 技能免费吗?

tractorjuice 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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