본문으로 건너뛰기
Skillpedia
일반 코딩30k · #9346

commit-history

하는 일

이 스킬은 에이전트 세션이 만든 커밋 목록을 보여 줍니다. 브랜치나 저장소로 걸러 볼 수 있습니다. 각 커밋은 자신이 나온 세션을 함께 보여 줍니다.

사용하는 경우

  • ✓에이전트가 최근에 배포한 커밋을 보고 싶을 때.
  • ✓한 브랜치나 저장소에 연결된 커밋 목록이 필요할 때.
  • ✓각 커밋을 세션 세부 정보와 함께 보고 싶을 때.

스킬 링크

https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/commit-history/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/commit-history/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“에이전트가 main 브랜치에서 만든 최근 커밋 20개를 세션 정보와 함께 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 브랜치와 개수 제한을 넣어 커밋 목록 도구를 호출하고, 결과를 최신순으로 보여 줍니다. 각 항목에는 짧은 SHA, 메시지, 연결된 세션, 관찰 수가 포함됩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

The user wants a list of agent-linked commits. Filter args: $ARGUMENTS

Quick start

memory_commits { "branch": "main", "limit": 20 }

Expected output:

9a1b2c3 main 2026-06-07 "rotate refresh tokens" · session 7f3a9c2 (14 obs)
b21d004 main 2026-06-05 "rate limiter audit"    · session b21d004 (9 obs)

Why

Render only the commits the tool returned, newest first. An empty result means the filter matched nothing, not that work is missing.

Workflow

  1. Parse $ARGUMENTS for branch=<name>, repo=<url-or-fragment>, limit=<n>. A bare numeric token is the limit. Defaults: no branch, no repo, limit 100, max 500.
  2. Call memory_commits with the parsed filters.
  3. Render reverse-chronologically: short sha, branch, authored timestamp, first line of the message, linked session id(s) (first 8) with observation counts, and file count when files is present.
  4. Empty result: tell the user the filter matched nothing and suggest dropping the branch or repo filter.

Anti-patterns

WRONG (REST fallback): concatenate ?branch= + raw branch name, so a name with ?, &, or # corrupts the query string.

RIGHT: URL-encode every value with URLSearchParams/encodeURIComponent before appending to GET /agentmemory/commits.

Checklist

  • Filters parsed; bare number treated as limit; limit capped at 500.
  • Output is reverse-chronological.
  • Session ids and observation counts come straight from the response.
  • REST fallback URL-encodes branch, repo, and limit.

See also

  • commit-context: drill into one commit's session.
  • recall: search the observations behind a linked session.

Troubleshooting

See TROUBLESHOOTING.md if memory_commits is not available.

자주 묻는 질문

목록이 비어 있으면 어떻게 하나요?

필터에 맞는 항목이 없다는 뜻입니다. 브랜치나 저장소 필터를 빼고 다시 시도해 보세요.

최대 몇 개의 커밋을 보여 줄 수 있나요?

기본값은 100개이며, 최대는 500개입니다.

변경된 파일도 보여 주나요?

네. 커밋의 파일 정보가 있으면 함께 보여 줍니다.

상세 정보

작성자의 원본 설명

List recent git commits linked to agent sessions, optionally filtered by branch or repo. Use when the user asks "show agent commits", "what has the agent shipped", "list linked commits", or wants commits with their session context.

repo: rohitg00/agentmemory

인기도

GitHub 스타
30k
순위
#9346
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬