SuperAPI AI Directory

update-docs

Coding & development

View repository

Updated 10-15 21:40

About this skill

update-docs

Based on code changes, update CLAUDE.md and record it in_/.last-update-docs .

_/.last-update-docs file format

commit_hash=<hash>
commit_subject=<1行目>
commit_date=<ISO 8601>

This file is .gitignore and is local-only, excluded by

Flow

Step 1: Check the previous update commit

_/.last-update-docs Read commit_hash and get . If the file does not exist, treat it as the first run and use the most recent commit as the baseline.

Step 2: Check the changes

git log <commit_hash>..HEAD --oneline
git diff <commit_hash>..HEAD --stat

Understand the changed files and their contents.

Step 3: Update CLAUDE.md

Update Current Skills

skills/ Get the list of directories underCLAUDE.md の ## Current Skills and update the section.

ls -d skills/*/SKILL.md | sed 's|skills/||;s|/SKILL.md||' | sort
  • Update the skill count: ## Current Skills (N)
  • Update the comma-separated list of skill names

Update Repository Structure

Update the structure tree when the following changes occur:

  • .claude/agents/ Agent definitions were added/removed in
  • .claude/rules/ Rules were added/removed in
  • .claude/skills/ Workflow skills were added/removed in

Other update targets

  • Changes to the installation method
  • Addition of new conventions
  • Changes to the skill structure (Skill Anatomy)

Step 4: _/.last-update-docs Update

git log -1 --format="%H"  # commit_hash
git log -1 --format="%s"  # commit_subject
git log -1 --format="%cI" # commit_date (ISO 8601)

With the retrieved information, update _/.last-update-docs :

commit_hash=abc123def456
commit_subject=feat(playwright): Playwright リファレンススキルを追加
commit_date=2026-03-21T10:00:00+09:00

Step 5: Report the updates

Display the list of updated files and the details of the changes.

Notes

  • CLAUDE.md Only is subject to updates. Individual skills' SKILL.md や references/ are not subject to updates
  • Auto-generated files are not subject to updates
  • _/.last-update-docs が .gitignore Check whether it has been added to