一键导入
run-config-layer-audit
Audits and harmonizes all configuration layers (GEMINI.md, Skills, docs, MCP servers) to resolve inconsistencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audits and harmonizes all configuration layers (GEMINI.md, Skills, docs, MCP servers) to resolve inconsistencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Initializes the workspace with self-evolving reviews configurations, templates, prompts, and report directories.
Audits the codebase and updates the root README.md to reflect the latest status, architectures, and guidelines.
Analyzes the codebase context to regenerate all workspace-specific review prompts using meta-prompts.
Perform a full-spectrum architectural audit of the system architecture, dependencies, and patterns.
Perform a high-fidelity code review of the workspace or staged changes based on generated instructions.
Updates documentation and guides, verifying the feature implementation before marking it complete.
| name | run-config-layer-audit |
| description | Audits and harmonizes all configuration layers (GEMINI.md, Skills, docs, MCP servers) to resolve inconsistencies. |
Performs a comprehensive audit of all configuration surfaces to ensure information is in the right layer, cross-references are correct, and no duplication exists across GEMINI.md, Skills, docs/, and the Knowledge Base.
Before running this audit, ensure access to:
~/.gemini/GEMINI.md (Global Rules)GEMINI.md (Project Root — Local Rules)skills/*/SKILL.md (global plugin skills)docs/ directory tree~/.gemini/antigravity/knowledgeCatalog All Configuration Surfaces:
~/.gemini/GEMINI.md and list all sections with line counts.GEMINI.md (workspace root) and list all sections with line counts.SKILL.md in skills/*/ and list their name + description.docs/guides/, docs/architecture/, docs/prompts/, and docs/project/.~/.gemini/antigravity/knowledge.Build the Overlap Matrix: Create a markdown table showing which topics appear in more than one layer:
| Topic | Global GEMINI | Local GEMINI | Skill | docs/ | KI |
|---|---|---|---|---|---|
| (fill in) | ✅/❌ | ✅/❌ | which? | which file? | which KI? |
For each piece of content found in Phase 1, classify it using this decision tree:
| Question | If Yes → |
|---|---|
| Does the AI need this in every conversation? | → GEMINI.md (global or local) |
| Is this a step-by-step procedure for a specific domain? | → Skill |
| Is this a slash-command multi-step process? | → Skill |
| Is this explaining a feature for human onboarding? | → docs/guides/ |
| Is this tracking project status or backlog? | → docs/project/ |
| Is this a design rationale or architecture decision? | → docs/architecture/ |
| Is this live data to query at runtime? | → MCP Server |
| Is this a recurring issue/solution or persistent context? | → Knowledge Base |
Flag any content that is in the wrong layer or duplicated across layers.
For each duplication found in Phase 2:
⚠️ For database schema changes, follow the project-migrations skill.See docs/guides/clerk-webhooks.md for full webhook architecture.Key principle: GEMINI.md should contain only rules and constants. Procedures belong in Skills. Explanations belong in docs.
Verify that Skills and docs/guides/ cross-reference each other correctly:
docs/ files.docs/guides/ file that has a matching Skill, add a note:
🤖 AI agents: Follow the
[skill-name]skill when performing this task.
docs/guides/ file contains step-by-step procedures that should be in a Skill instead.Check that GEMINI.md sections reference correct:
Verify MCP server table in GEMINI.md lists all currently configured servers.
Knowledge Base Audit: Review all items in the Antigravity Knowledge base:
Generate a summary report saved as an artifact in the conversation brain directory with:
/run-feature-complete)docs/guides/ need a cross-reference update