用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tractorjuice/arckit-kimi --skill arckit-template-builder命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | arckit-template-builder |
| description | Create new document templates by interviewing the user about their organization's requirements |
You are helping an enterprise architect create a brand-new document template tailored to their organization's specific needs. Unlike /skill:arckit-customize (which copies existing templates for editing), this command creates entirely new templates from scratch through an interactive interview process.
$ARGUMENTS
This command generates:
.arckit/templates-custom/{name}-template.md with Template Origin: Community banner.arckit/guides-custom/{name}.md with Guide Origin: Community banner.agents/skills/arckit-community-{name}/SKILL.md.arckit/community/{name}/All community-generated content is clearly marked with origin banners to distinguish it from official ArcKit templates.
ArcKit uses three origin tiers for all templates and guides:
Template Origin: Official)/skill:arckit-customize (e.g., Template Origin: Custom)Template Origin: Community)Extract the template type from $ARGUMENTS. If blank or vague, ask the user what kind of document template they want to create.
Check for the --share flag in arguments. If present, strip it from the template name and generate a shareable bundle in Step 8.
Slugify the template name: lowercase, replace spaces/special chars with hyphens, trim (e.g., "Security Assessment" -> "security-assessment").
Ask these questions BEFORE reading any templates. Present all 4 questions together, then wait for the user's answers before continuing.
Question 1 — header: Category, multiSelect: false
"What category best describes this template?"
Question 2 — header: Elements, multiSelect: true
"Which structural elements should the template include?"
Question 3 — header: Context, multiSelect: false
"What organizational context should the template support?"
Question 4 — header: Outputs, multiSelect: true
"What additional outputs would you like?"
/skill:arckit-community-{name} skill fileApply the user's selections: the category determines the template's major sections. The structural elements determine which reusable components (matrices, checklists, workflows, risk tables) are included. The organizational context determines compliance sections and terminology. If "Kimi Skill" is selected, generate a skill in Step 6. If the user passed --share, generate a bundle in Step 7.
Now that you have the user's preferences, read 2-3 existing official templates to understand the standard format. Read these files directly. Do not search broadly or delegate this step.
Always read:
.arckit/templates/requirements-template.md (canonical Document Control + structure)Read one more based on the user's category selection:
.arckit/templates/conformance-assessment-template.md.arckit/templates/platform-design-template.md.arckit/templates/evaluation-criteria-template.md.arckit/templates/architecture-strategy-template.mdCreate the template file at .arckit/templates-custom/{name}-template.md.
Emit the <!-- DOC-CONTROL-HEADER --> marker verbatim — never a Document Control table. Earlier versions of this command emitted a hand-written 14-row table with a hardcoded UK ladder, so every user-built template was born outside regime routing and drifted from the standard from its first day (#760). The marker resolves at command-execution time to the partial _partials/RENDERING.md selects, which is what keeps the fields and the classification ladder correct for the artefact's own regime.
Template Structure (mandatory elements):
# [DOCUMENT_TYPE]: [PROJECT_NAME]
> **Template Origin**: Community | **Generated By**: `/skill:arckit-template-builder` | **ArcKit Version**: [VERSION]
## Document Control
<!-- DOC-CONTROL-HEADER -->
<!-- Resolved at command-execution time per _partials/RENDERING.md. -->
## Revision History
| Version | Date | Author | Changes | Approved By | Approval Date |
|---------|------|--------|---------|-------------|---------------|
| [VERSION] | [DATE] | ArcKit AI | Initial creation from `/skill:arckit-[COMMAND]` command | [PENDING] | [PENDING] |
Body sections — Generate based on interview answers:
Standard footer (always included):
---
**Generated by**: ArcKit `/skill:arckit-template-builder` command
**Generated on**: [DATE]
**ArcKit Version**: [VERSION]
**Project**: [PROJECT_NAME]
**Model**: [AI_MODEL]
TYPE_CODE: Generate a short 3-5 character uppercase code for the document type (e.g., "SECAS" for Security Assessment, "VSCR" for Vendor Scorecard). Ensure it does not conflict with existing ArcKit type codes (REQ, RISK, SOBC, STKE, ADR, DIAG, etc.).
Create a usage guide at .arckit/guides-custom/{name}.md.
Guide Structure:
# {Template Name} Guide
> **Guide Origin**: Community | **Generated By**: `/skill:arckit-template-builder` | **ArcKit Version**: [VERSION]
`/skill:arckit-community-{name}` generates a {brief description of what the template produces}.
---
## Preparation
| Artefact | Why it matters |
|----------|----------------|
| {prerequisite 1} | {why it's needed} |
| {prerequisite 2} | {why it's needed} |
---
## Usage
```text
/skill:arckit-community-{name} {example arguments}
Output: .arckit/templates-custom/{name}-template.md
{Describe each major section of the template and what it covers}
This is a community template. You can:
.arckit/templates-custom/{name}-template.md directlyTo share this template:
.arckit/community/{name}/ (if generated)For official promotion: rename the generated skill if needed, change banner to Template Origin: Official, and open a PR.
### Step 6: Generate Optional Kimi Skill
If the user selected "Kimi Skill" in Round 2, create `.agents/skills/arckit-community-{name}/SKILL.md`. This location is auto-discovered by Kimi as a project-level skill (available as `/skill:arckit-community-{name}`).
**Skill Structure**:
```markdown
---
name: arckit-community-{name}
description: "{Brief description of what this skill generates}"
---
You are generating a {template type} document using a community template.
## User Input
```text
$ARGUMENTS
Identify the target project:
Read the template:
.arckit/templates-custom/{name}-template.mdGenerate the document following the template structure
Write the output to projects/{project-dir}/ARC-{PROJECT_ID}-{TYPE_CODE}-v1.0.md
Show summary only (NOT the full document)
### Step 7: Generate Optional Shareable Bundle
If the user passed `--share` in their arguments, create the bundle directory:
- `.arckit/community/{name}/README.md` — Usage instructions, author info, description, and "Submit to ArcKit" section
- `.arckit/community/{name}/{name}-template.md` — Copy of the template
- `.arckit/community/{name}/{name}.md` — Copy of the usage guide
- `.arckit/community/{name}/skill:arckit-community-{name}.md` — Copy of the skill (if generated)
**README.md for the bundle**:
```markdown
# Community Template: {Template Name}
> **Origin**: Community | **Created with**: ArcKit `/skill:arckit-template-builder`
## Description
{What this template is for and when to use it}
## Installation
Copy the files to your ArcKit project:
- `{name}-template.md` -> `.arckit/templates-custom/`
- `{name}.md` -> `.arckit/guides-custom/`
- `arckit-community-{name}/SKILL.md` -> `.agents/skills/` (optional)
## Submit to ArcKit
To propose this template for official inclusion:
1. Fork [tractorjuice/arc-kit](https://github.com/tractorjuice/arc-kit)
2. Copy template to `.arckit/templates/` and `arckit-claude/templates/`
3. Rename or relocate the community skill if promoting it to an official ArcKit command
4. Change `Template Origin: Community` to `Template Origin: Official`
5. Change `Guide Origin: Community` to `Guide Origin: Official`
6. Add guide metadata to `arckit-claude/config/guide-groups.mjs`
7. Open a PR with description of the template's purpose
After writing all files, show ONLY this summary:
## Template Builder Complete
**Template**: {Template Name}
**Category**: {Category from Round 1}
**Type Code**: {TYPE_CODE}
### Files Created
| File | Location |
|------|----------|
| Template | `.arckit/templates-custom/{name}-template.md` |
| Usage Guide | `.arckit/guides-custom/{name}.md` |
| Kimi Skill | `.agents/skills/arckit-community-{name}/SKILL.md` (if selected) |
| Shareable Bundle | `.arckit/community/{name}/` (if selected) |
### Template Sections
- {List of major sections in the generated template}
### How to Use
1. Run `/skill:arckit-community-{name} <project>` to generate a document from this template
2. Or use `/skill:arckit-customize` to copy any official template for lighter customization
### How to Share
- Share the `.arckit/community/{name}/` bundle via Git
- Submit a PR to [tractorjuice/arc-kit](https://github.com/tractorjuice/arc-kit) for official promotion
### Origin Model
| Tier | Description |
|------|-------------|
| **Official** | Shipped with ArcKit — 50+ templates |
| **Custom** | Your modifications of official templates (`/skill:arckit-customize`) |
| **Community** | New templates you create (`/skill:arckit-template-builder`) |
Template Origin: Community bannerGuide Origin: Community bannerarckit-community- prefix (e.g., .agents/skills/arckit-community-security-assessment/SKILL.md)After completing this command, consider running:
/skill:arckit-customize -- Copy and modify existing official templates instead of creating new ones (when User wants to customize an existing template rather than build a new one)