Skip to main content
在 Manus 中运行任何 Skill
一键导入

architecture-fitness-functions

星标0
分支0
更新时间2026年7月10日 22:42

Turn a codebase's prose architecture invariants (constitution/AGENTS.md hard rules, design-spec acceptance criteria, capability matrices) into deterministic, CI-enforced conformance tests — "architecture fitness functions" — so agents can't quietly break global invariants while every local test stays green. Covers the named invariant register, structural (build-time) vs behavioral (runtime) checks, the deterministic-not-LLM enforcement rule, grounding tests in real runtime code, and verifying drift is genuine before flagging it. Use when an agent-written or fast-moving codebase is drifting from its intended architecture, when you want to formalize "the architecture we actually want" and stop regressions in CI, or when reviewing whether a refactor preserved a system's global contracts.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly