360 Secure SkillHub
360 安全技能中心

constitution

该 Skill 是指向 smard-agent-flow 方法仓库的入口:按 ROOT 优先级读取方法文档、模板与既有策略,产出符合模板的 REPOSITORY-CONSTITUTION 提案,并为每条原则附来源映射;提案先展示在对话中,写入文件后仍为草案,须经人工批准,且不替代 RULES、不创建仓库或启用 CI。

分类:开发
mardemsean
mardemsean
热度 5.10
最近更新 2026-11-29 10:41:29

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add mardemsean/constitution
兼容性
Claude Code 专属
联网要求
联网要求未确认
数据出网
数据不出本机
Metadata
name
constitution
description
Equivalent of /speckit.constitution in the smard-agent-flow-git method. Constitutes a repository or baseline by deriving principles from the canonical sources, with an origin map, without replacing RULES or the REQUIREMENT-ZERO. Use when the operator asks to constitute a repo, fix a baseline or "project principles".
argument-hint
[repository or context to constitute]

/smard-agent-flow:constitution

Pointer. The policy lives in the method's repository (ROOT below); do not redefine it here.

Precedence of the ROOT: ${user_config.method_repo} if non-empty and existing; otherwise the packaged copy ${CLAUDE_PLUGIN_ROOT}/method. All relative paths below start from the ROOT. If neither exists, tell the operator and stop.

Read before acting (mandatory)

  1. The general route: ${CLAUDE_PLUGIN_ROOT}/skills/smard-agent-flow/SKILL.md, section 1: AGENTS.md, METHODOLOGY.md, RULES.md, INDEX.md.
  2. docs/production-workflow/METHOD-BASELINE.md
  3. docs/production-workflow/templates/REPOSITORY-CONSTITUTION.md
  4. docs/production-workflow/DOCUMENTARY-CONTRACT.md (visible elaboration protocol)
  5. docs/production-workflow/SPECKIT-ADAPTATION.md, section 6 (the executor's constitution = explicit derivation)
  6. Policies already existing in the target repository, if any.

Artifact

A REPOSITORY-CONSTITUTION proposal following the template, with a contextual inventory and an origin map for each principle. The proposal is shown in the chat before it becomes a file. The persisted file is a draft until human ratification (RULES R3).

Limits (source: AGENTS.md, Boundaries; RULES R1, R2, R3, R6, R8)

  • Do not replace RULES, METHODOLOGY or the ZERO; do not create a parallel policy.
  • Do not create a repository, grant access, enable CI or install anything because of the template.
  • Do not write .specify/memory/constitution.md nor run the Spec Kit executor: the integration is not implemented and the pilot is not authorized.

Operator input: $ARGUMENTS