Team-MINO-Android: Command for Claude Code

.claude/commands/done.md

done is a command for Claude Code from mash-up-kr/Team-MINO-Android. It costs 30 tokens per session (2,244 once invoked), scanned A, original, Apache-2.0.

A Git commit workflow that examines current changes, splits them into logical groups, and creates Korean commit messages following the Conventional Commits format. It previews and confirms each commit but does not push changes or create a pull request.

In plain words
What is it for?
Use it to stage changes, group them by purpose, review the proposed messages, and create the commits on the current branch.
Why use it?
It avoids mixing unrelated edits into one commit and reduces the effort of writing consistent commit messages. It also checks the repository's documented commit rules before committing.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

This is mash-up-kr/Team-MINO-Android's own configuration. It tells Claude Code how to work on Team-MINO-Android itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Team-MINO-Android configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ktlint 규칙·`.editorconfig` 컨벤션은 프로젝트 루트의 [`.editorconfig`](../../.editorconfig)를 단일 출처로 한다. 이 커맨드에서 규칙을 재정의하지 않는다..

Reuse

Borrowing it

Nothing to install: this file belongs to mash-up-kr/Team-MINO-Android. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mash-up-kr/Team-MINO-Android/develop/.claude/commands/done.md
Clone the repo
git clone --depth 1 https://github.com/mash-up-kr/Team-MINO-Android

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for done

README.md
[![agentmods](https://agentmods.dev/badge/commands/mash-up-kr/team-mino-android/done/github.svg)](https://agentmods.dev/commands/mash-up-kr/team-mino-android/done)
Your own site
<a href="https://agentmods.dev/commands/mash-up-kr/team-mino-android/done"><img src="https://agentmods.dev/badge/commands/mash-up-kr/team-mino-android/done/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for done

Your own site · 80×15
<a href="https://agentmods.dev/commands/mash-up-kr/team-mino-android/done"><img src="https://agentmods.dev/badge/commands/mash-up-kr/team-mino-android/done.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,244 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.02244
Opus 5.5 $0.00012 $0.00898
Sonnet 5.5 $0.00006 $0.00449
Haiku 4.5 $0.00003 $0.00224

Measured today against content hash 4103286c6c09, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-03, from the pricing page.

Security

Grade A, and why

done scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/done.md · 201 lines

How it starts

The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/done — 커밋 마무리 커맨드

너는 현재 브랜치의 변경사항을 분석해 논리 단위로 쪼개고, 각 단위마다 Conventional Commits 기반 한국어 메시지를 생성·미리보기·확정·커밋하는 Claude다. 푸시·PR 생성은 범위 밖이다.

선행 로드: 이 커맨드는 docs/conventions/commit-message.md의 규칙을 따른다. 커밋 메시지 생성 단계(5)에 들어가기 전에 반드시 해당 파일을 Read해 최신 컨벤션·type 목록·예시를 확보한다. 커맨드 안에서 규칙을 재정의하지 않는다.


0. 사전 검증

0-1. 변경사항 존재 확인

git status --porcelain

출력이 비어있으면 다음 메시지 출력 후 즉시 종료:

✅ 커밋할 변경사항이 없습니다.

0-2. 브랜치 경고 (차단 아님)

current=$(git symbolic-ref --short HEAD)

current가 main 또는 develop이면 경고 출력 후 계속 진행:

⚠️ 현재 브랜치가 <main|develop> 입니다. 보호 브랜치에 직접 커밋은 권장되지 않습니다. 그대로 진행합니다.


1. 변경사항 수집

git status --porcelain
git diff --stat
git diff --cached --stat

staged(git diff --cached)가 비어있고 unstaged/untracked만 있으면 자동으로 git add -A 실행:

git add -A

이후 staged 전체를 대상으로 분석 진행.


2. 코드 정리 (simplify Skill 실행, 필수)

논리 단위 분석 직전에 반드시 simplify Skill을 호출하여 staged 코드의 재사용성·품질·효율성을 점검하고 필요한 개선을 반영한다. 건너뛸 수 없다.

2-1. 실행

simplify Skill을 호출. 대상 범위는 현재 staged 변경사항. Skill이 파일을 수정하면 working tree에 반영된다.

2-2. 변경 재수집

Skill 실행 후 staged + unstaged 상태를 다시 확인:

git status --porcelain

simplify로 인한 수정이 있으면 git add -A로 다시 staged에 포함한다.

주의: simplify가 의도한 기능 범위 밖의 변경을 만들 수 있다. 이후 논리 단위 분석 단계에서 해당 수정을 별도 커밋(refactor: 또는 chore:)으로 분리할지 판단한다. 원래 기능 변경과 단순 정리는 섞지 않는 것을 우선한다.


3. ktlint 게이트 (필수)

simplify 반영 직후, 논리 단위 분석 전에 staged 코드의 포맷을 ktlint로 검증한다. 위반이 남아있으면 커밋을 진행하지 않는다. 건너뛸 수 없다.

3-1. 검사 실행

./gradlew ktlintCheck --console=plain

3-2. 위반 처리

  • 통과(BUILD SUCCESSFUL): 다음 단계로 진행.
  • 위반 발생: 위반 내용을 그대로 출력하고 커밋을 진행하지 않는다. 사용자에게 수동 수정 후 /done 재실행을 안내한다. 이 게이트는 검증(ktlintCheck)만 수행하며, ktlintFormat 등 자동 수정은 실행하지 않는다(포맷 수정은 개발자가 직접 판단·반영).

ktlint 규칙·.editorconfig 컨벤션은 프로젝트 루트의 .editorconfig를 단일 출처로 한다. 이 커맨드에서 규칙을 재정의하지 않는다.


4. 논리 단위 분석 & 쪼개기 제안

staged 파일 목록과 diff 내용을 기반으로 논리 단위를 추출한다. 분리 기준:

Read the full file on GitHub · 201 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 201 lines · 30 tokens per session scan A 4103286c6c09

Subscribe to this mod's changes

done is a command published in the GitHub repository mash-up-kr/Team-MINO-Android (7 stars, last pushed 16d ago), licensed Apache-2.0. It adds 30 tokens to every session and 2,244 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.