AGENT SKILL

platform-command-lifecycle-manager

Manages the creation, registration, and propagation of platform commands in .claude/commands/ and .gemini/commands/ directories. Use when: adding new commands, ensuring parity between Claude and Gemini command directories, or propagating commands to templates/common/.

License 许可
AGPL-3.0
最近更新
2026-11-14
Stars
★ 25
Forks
9

01 前言 Front Matter

name
platform-command-lifecycle-manager
owner
pm
scope
common
status
active
version
1.0.3
metadata
{ "type": "process", "triggers": [ "create platform command", "new .claude command", "new .gemini command", "platform command lifecycle", "command parity", "propagate command" ] }
description
Manages the creation, registration, and propagation of platform commands in .claude/commands/ and .gemini/commands/ directories. Use when: adding new commands, ensuring parity between Claude and Gemini command directories, or propagating commands to templates/common/.
last_reviewed
1780185600000

03 SKILL.md 正文

Platform Command Lifecycle Manager

When to Use

Use this skill when:

  • Creating a new command in .claude/commands/ or .gemini/commands/
  • Verifying command parity between platforms
  • Propagating a command to templates/common/

Creation Checklist

  1. Determine gemini-parity: Does this command apply to Gemini/Antigravity?

    • If yes: create in BOTH .claude/commands/ AND .gemini/commands/
    • If Claude-only: add gemini-parity: skip to frontmatter
  2. Propagate to common:

    • Always: copy to templates/common/.claude/commands/
    • If not gemini-parity: skip: also copy to templates/common/.gemini/commands/
  3. Register in common-contract.json: Add entry to common_commands section

  4. Run verification: bun scripts/verify-platform-lifecycle.ts must pass Check G

Propagation Rule

.claude/commands/<name>.md                    ← Claude Code source
.gemini/commands/<name>.md                    ← Gemini/Antigravity (if not skip)
templates/common/.claude/commands/<name>.md   ← Template propagation (Claude)
templates/common/.gemini/commands/<name>.md   ← Template propagation (if not skip)

Verification

bun scripts/verify-platform-lifecycle.ts
# Workspace-only template validator: run it from the workspace root (L0-only
# tooling — not shipped inside projects), never inside a variant/project.

04 同仓库更多 Skills

5throck
5throck/ai-workspace-standards

i18n-layout

Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.

★ 25
5throck
5throck/ai-workspace-standards

i18n-layout

Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.

★ 25
5throck
5throck/ai-workspace-standards

i18n-layout

Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.

★ 25
5throck
5throck/ai-workspace-standards

i18n-layout

Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.

★ 25
5throck
5throck/ai-workspace-standards

i18n-layout

Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.

★ 25
5throck
5throck/ai-workspace-standards

i18n-layout

Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.

★ 25