Workspace Git Hygiene
Inspect branch and status, protect user edits, and avoid destructive git commands.
- License 许可
- MIT
- 最近更新
- 2026-09-26
- Stars
- ★ 29
- Forks
- 1
01 前言 Front Matter
- name
- Workspace Git Hygiene
- description
- Inspect branch and status, protect user edits, and avoid destructive git commands.
- adapter_kind
- codex-orchestrator-adapter
- adapter_notes
- Captures Codex repository-safety rules as a routable skill for dirty worktrees.
- original_path
- .codex/AGENTS.md#codex-orchestrator-apply-protocol
- migration_date
- 2026-05-28
- migration_source
- codex
- source_collection
- codex-global-routing
- source_snapshot_kind
- short-verbatim-excerpt
- source_snapshot_label
- global Codex AGENTS.md worktree and git hygiene rules
- source_snapshot_words
- 40
03 SKILL.md 正文
Workspace Git Hygiene
Use when working in a shared repository or dirty worktree. Check current path, branch, and status, identify unrelated changes, and never revert or overwrite work that was not part of the assignment.
Evidence
pwd, branch, and status output.- Explicit note about unrelated changes.
- No destructive git operations.
Source Snapshot
Source: global Codex AGENTS.md worktree and git hygiene rules
Short excerpt used for provenance, not a full source copy.
## Codex Orchestrator Apply Protocol Use this protocol whenever the user asks for Codex
Orchestrator, or when a non-trivial `/opsx:apply` / implementation task needs agent
separation, worktree isolation, or review before merge. Start by outputting: ```markdown
## Task Understanding ## Proposed Subagents ## Worktree /
04 同仓库更多 Skills
songwriting-and-ai-music
暂无简介
test-driven-development
Use when implementing behavior that can be covered by automated tests.
systematic-debugging
Use when diagnosing failing tests, runtime errors, or unexpected behavior.
workflow-evidence-audit
Use when auditing validation workflow evidence before a maintainer review or diagnostic handoff.
release-note-review
Use when reviewing release notes for evidence boundaries, local validation summaries, and explicit non-goals.
workflow-evidence-audit
Use when auditing validation workflow evidence before a maintainer review or diagnostic handoff.