Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

thoughtful-commitment

БесплатноБез исполняемых скриптовНе проверен

Git commits that capture context and intent

SimHackerот SimHacker★ 63 звезды на GitHub

Об этом скилле

Thoughtful Commitment

Commits that capture context, not just changes.

Purpose

Git commits with traceability:

  • What changed (git diff)
  • Why it changed (cursor-mirror thinking)
  • Who asked for it (user request)
  • Session link for full context

The Core Insight

Git and cursor-mirror are two introspection systems that mesh via commit IDs:

Git:           "What changed?"  →  abc123
Cursor-Mirror: "Why?"          →  events 140-148

Thoughtful Commitment: Links them together

Protocol: THOUGHTFUL-COMMITMENT

Commit Message Format

<type>: <summary> (imperative, <50 chars)

<narrative>
What happened, from whose perspective, and why it matters.
Focus on intent and motivation, not just mechanics.

<changes>
- Bullet list of mechanical changes
- For quick scanning

<thinking-ref>
Thinking: cursor-mirror://<composer>/<event-range>

Types

Type Use
feat New feature or capability
fix Bug fix
refactor Code restructuring (no behavior change)
docs Documentation only
style Formatting (no code change)
test Adding or updating tests
chore Maintenance tasks
narrative Story beat, character change, world evolution

For MOOLLM narratives, the type can be the story beat:

Incarnation Ceremony: Kittens receive emoji souls
Midnight Prowl: Cats explore the moonlit garden
Cat Council: Biscuit accepted into family

Context Gathering

Before writing commits or PRs, gather existing messages to match style and avoid repetition:

# Recent commit messages (style reference)
git log --oneline -20
git log origin/main..HEAD --format='%s%n%b%n---'

# PR descriptions
gh pr view --json title,body
gh pr list --state merged -L 10 --json number,title

# Combined context
git log origin/main..HEAD --oneline && \
git diff origin/main --stat | tail -5

See examples/git-commands.yml → context_gathering for complete reference.

Method Specifications


Primary Introspection — Start Here

These are the entry points. Get the timeline, then drill down.

TIMELINE

The master view. Shows all events with timestamps, types, and IDs.

Input:

method: TIMELINE
parameters:
  composer: string     # Composer ID (@1, name fragment, hash)
  limit: int           # How many events (default: 50)
  filter: string       # Event type filter (thinking, tool, user, all)
  since: string        # Time filter ("1 hour ago", event ID)

Process:

cursor-mirror timeline <composer> --limit <n>

Output:

🤔💭 ⏱️ Session Timeline — e8587ace

#141  16:46:12  📍 user      "Refactor auth module"
#142  16:46:15  🪟 context   3 files, ~4.2k tokens
#143  16:46:18  🧠 thinking  "Need to check for race conditions..."
#144  16:46:22  🔧 tool      Read auth/session.ts
#145  16:46:25  📤 result    247 lines loaded
#146  16:46:30  🧠 thinking  "Found race condition on line 47..."
#147  16:46:35  💡 insight   "Adding await fixes sequencing"
#148  16:46:40  🔧 tool      Write auth/session.ts
#149  16:46:45  📝 change    +3 -1 lines

→ Drill down: CONTEXT-FOCUS #142 | THINKING #143 | TOOLS #144

Drill-down commands:

  • CONTEXT-FOCUS #142 — What went into context at that point?
  • THINKING #143 — Full text of that thinking block
  • TOOLS #144-148 — Tool calls in that range
  • EXPLAIN #149 — Why was that change made?

The timeline is the map. Everything else is zooming in.


CONTEXT-FOCUS

Analyze what went into the context window for a specific call. Shows the cursor state — what files, snippets, conversation, and rules were assembled.

Input:

method: CONTEXT-FOCUS
parameters:
  composer: string     # Composer ID
  event_id: string     # Optional: specific event (default: latest)

Process:

# Get context sources for a composer
cursor-mirror context-sources <composer>

# Analyze what was in context at a specific event
cursor-mirror timeline <composer> --before <event_id> --type context

Output:

🤔💭 🪟 Context Window Analysis — event #142

Files read into context:
  auth/session.ts      247 lines   ████████████░░░░  58%
  auth/types.ts         89 lines   ████░░░░░░░░░░░░  21%
  tests/auth.test.ts   156 lines   ██████░░░░░░░░░░  37%

Snippets:
  session.ts:45-67 (highlighted by user)
  
Conversation turns: 12
Rules loaded: .cursorrules, workspace rules

Estimated tokens: ~4,200

Focus: auth module, session handling

The 🪟 tag marks context window analysis — showing what the LLM "saw" for this call.


THINKING

Show reasoning blocks for an event or range.

Input:

method: THINKING
parameters:
  composer: string
  event_id: string     # Specific event
  range: string        # Or range like "143-146"

Process:

cursor-mirror thinking <composer> --event <id>

Output:

🤔💭 🧠 Thinking Block #143

"I need to understand the current structure of the auth module before 
making changes. L
Полный SKILL.md на GitHub

Установить thoughtful-commitment в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

read_file
write_file
list_dir
run_terminal_cmd
grep

Вложенные файлы

CARD.ymlGLANCE.ymlREADME.mdexamples/commit-messages.ymlexamples/git-commands.ymlexamples/shell-patterns.ymlskill-snitch-report.md

FAQ

Что делает скилл thoughtful-commitment?

Git commits that capture context and intent

Как установить скилл thoughtful-commitment?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл thoughtful-commitment запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить thoughtful-commitment с