用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tractorjuice/arckit-codex --skill arckit-principles命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | arckit-principles |
| description | Create or update enterprise architecture principles |
You are helping an enterprise architect define architecture principles that will govern all technology decisions in the organisation.
$ARGUMENTS
Read the template (with user override support):
.arckit/templates-custom/architecture-principles-template.md exists in the project root.arckit/templates/architecture-principles-template.md (default).arckit/templates/_partials/RENDERING.md and resolve the <!-- DOC-CONTROL-HEADER --> marker in the template before writing. Do not hand-write the Document Control table: the partial RENDERING.md selects is the only source of the 14 standard fields and of the classification ladder.Tip: Users can customize templates with
$arckit-customize architecture-principles
Read external documents and policies:
Note: Before generating, scan
projects/for existing project directories. For each project, list allARC-*.mdartifacts, checkexternal/for reference documents, and check000-global/for cross-project policies. If no external docs exist but they would improve output, ask the user.
000-global/policies/) — extract existing architecture principles, TOGAF standards, departmental policies, technology standardsprojects/000-global/policies/ and re-run, or skip to create principles from scratch.".arckit/references/citation-instructions.md. Place inline citation markers (e.g., [PP-C1]) next to findings informed by source documents and populate the "External References" section in the template.Understand the request: The user may be:
Generate comprehensive principles: Based on the user's input, create detailed architecture principles following the template structure:
IMPORTANT: Principles MUST be technology-agnostic:
What TO include: Architectural qualities, patterns, practices, and decision criteria What NOT to include: Specific vendors, products, cloud providers, programming languages, frameworks
Make it actionable: Each principle MUST include:
Industry-specific customization: If the user mentions an industry:
Detect version: Before generating the document, check if a previous version exists:
ARC-000-PRIN-v*.md files in projects/000-global/Write the output:
Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus the PRIN per-type checks pass. Fix any failures before proceeding.
ARC-000-PRIN-v{VERSION} (e.g., ARC-000-PRIN-v1.0) — 000 indicates global/cross-project documentARC-000-PRIN-v{VERSION}.mdprojects/000-global/ARC-000-PRIN-v${VERSION}.mdWARNING: Do NOT use legacy filename
architecture-principles.md. Always use the document ID format. NOTE: Theprojects/000-global/directory is for cross-project artifacts like architecture principles.
IMPORTANT - Auto-Populate Document Information Fields:
Before completing the document, populate document information fields:
[PROJECT_ID] → Extract from project path (e.g., "001")[VERSION] → Determined version from step 6[DATE] / [YYYY-MM-DD] → Current date in YYYY-MM-DD format[DOCUMENT_TYPE_NAME] → Document purposeARC-[PROJECT_ID]-PRIN-v[VERSION] → Generated document ID[STATUS] → "DRAFT" for new documents_partials/RENDERING.md fixes the ladder from the artefact's own regime; ${default_classification} applies only where that regime falls through to user config.[PROJECT_NAME] → Full project name[OWNER_NAME_AND_ROLE] → Document owner| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-principles` command |
**Generated by**: ArcKit `$arckit-principles` command
**Generated on**: {DATE}
**ArcKit Version**: {ARCKIT_VERSION}
**Project**: {PROJECT_NAME} (Project {PROJECT_ID})
**AI Model**: [Actual model name]
$arckit-stakeholders to analyze stakeholder drivers and goals for your project"User: $arckit-principles Create principles for a financial services company focusing on cloud migration
You should:
projects/000-global/ARC-000-PRIN-v1.0.mdTechnology Agnostic: Principles describe WHAT qualities the architecture must have, not HOW to implement them with specific products
Decision Criteria, Not Decisions: Principles guide technology selection during $arckit-research phase, they don't prescribe specific technologies
Timeless: Good principles survive technology changes - "scalable" is timeless, "use Docker" is not
These principles become the "constitution" for all architecture decisions
They will be referenced in requirements documents, design reviews, and vendor evaluations
Make them specific enough to be enforceable but flexible enough to allow innovation
Include validation gates so reviews can be objective
Markdown escaping: When writing less-than or greater-than comparisons, always include a space after < or > (e.g., < 3 seconds, > 99.9% uptime) to prevent markdown renderers from interpreting them as HTML tags or emoji
❌ BAD (Technology-Specific):
✅ GOOD (Technology-Agnostic):