Skip to content
Back to skills

Close

ASecurity

Close the transaction: archive, docs gate, then land it into base after CI passes — or park it under the next one

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 31, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add clomia/claude-automata --skill close --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Close?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Close
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/clomia-close/badge)](https://www.skillsdirectory.com/skills/clomia-close)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: close
description: "Close the transaction: archive, docs gate, then land it into base after CI passes — or park it under the next one"
---

**`tx:close`는 "전체 상태가 무결하다"는 선언이다.** 무결하지 않으면 닫지 마라.
필요한 수정을 transaction 안에서 마친 뒤 닫는다.

base is the repository's GitHub default branch. If it cannot be resolved,
relay the stderr instruction and refuse to close:

```bash
BASE=$("${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" base)
```

# 닫힌 상태: 아래가 전부 참이면 transaction은 닫힌 것이다

- Every edit that warranted `tx:verify` has been through it. A verify report is
  observation, not instruction: generalize each defect — hunt the same cause on
  other surfaces, preempt the next report. A defect re-reported past a grounded
  rebuttal is a spec-wording fix through `tx:plan`.

- Every active change is archived through `tx:archive`.
- The branch is rebased onto the latest `origin/<base>`.
- If the diff touches long-term memory (tracked `.md`, `openspec/**`): the
  final tree passes the `${CLAUDE_PLUGIN_ROOT}/references/docs-surface.md`
  rules, and the diff's old and new vocabulary is scanned for conflicts
  across every tracked text. The scan postdates the final rebase (rerun it if
  the rebase recurs), and every finding is resolved inside this transaction.
- The whole transaction is committed, and has landed or parked.

# 끝은 둘이다

둘 다 remote branch `<prefix>/<scope>/<slug>`와 title을 받는다. title은 transaction 전체를 말하는
conventional commit `<prefix>(<scope>): <summary>`이고, 그대로 squash commit이 된다.

- **land** — the transaction is squash-merged into base, with every transaction
  parked under it. CI green is the merge condition:

  ```bash
  "${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" land <prefix>/<scope>/<slug> --title "<title>" [--body-file <file>] [--light]
  ```

  It waits for the checks itself — up to ten minutes, so give the command
  that long. Exit 3 means they are still running: run `land` again.
  A failed check is fixed inside the transaction. Landed, everything born in
  the transaction is in base or has ceased to exist, local is on the merged
  base, and no transaction branch remains. What is not the transaction's,
  leave untouched; anything of uncertain origin, or holding changes that never
  landed, is surfaced to the user instead of deleted.
- **park** — the next transaction belongs to the same series. The pull request
  stays a draft, the next `tx:open` cuts on top of it, and the series lands
  together: the checks the repository gates run once
  (`${CLAUDE_PLUGIN_ROOT}/references/ci-gate.md`).

  ```bash
  "${CLAUDE_PLUGIN_ROOT}/bin/tx-hook" park <prefix>/<scope>/<slug> --title "<title>" [--body-file <file>] [--light]
  ```

  A parked transaction is closed: what it needs next is a transaction on top.

`--light`는 gate된 check가 이 변경의 올바름에 보탤 것이 없다는 너의 판단이다. label이 그 기록으로 남는다.

close는 idempotent다: 다시 실행하면 아직 참이 아닌 조건만 채우고, 전부 참이면 아무것도 하지
않는다.

## GitFlow prefix 계약 (conventional commits)

| prefix     | 의미 경계                                          |
| ---------- | -------------------------------------------------- |
| `feat`     | 관찰 가능한 behavior가 늘어남                      |
| `fix`      | 기존 behavior의 결함 수정                          |
| `refactor` | behavior 불변, 내부만 변경                         |
| `chore`    | repo-wide infra                                    |
| `docs`     | 문서만 변경                                        |

`scope`는 변경이 속한 domain 또는 module이다. `chore`와 `docs`는 scope를 생략한다.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.