skills/update-project/SKILL.md
Update project documentation based on new commits and changes in the repository. Use when: user wants to sync docs after project changes.
npx skillsauth add arklabshq/arkadian update-projectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When to use:
--dry-runUser input: A project ID (e.g., arkd) or absolute path, optionally followed by --dry-run.
This skill analyzes new commits in a project repository and updates the documentation accordingly, keeping the Arkadian registry up-to-date.
Parse input:
/ or ~): use as repo location, derive project-id from directory name${ARKADIAN_DIR}/docs/INDEX.md, find matching entry, extract repo path--dry-run flag: analyze but don't modify filesValidate:
docs/projects/<project-id>/)Step 2.1: Get Last Sync Commit
LAST_SYNC_FILE="${ARKADIAN_DIR}/docs/projects/<project-id>/change-log/last-sync.txt"
LAST_SYNC_COMMIT=$(cat "$LAST_SYNC_FILE" | tr -d '[:space:]')
Step 2.2: Analyze Repository Changes
cd <project-repo-path>
git log ${LAST_SYNC_COMMIT}..HEAD --oneline --no-merges
git log ${LAST_SYNC_COMMIT}..HEAD --stat --no-merges
git diff ${LAST_SYNC_COMMIT}..HEAD --name-only
CURRENT_COMMIT=$(git rev-parse HEAD)
Step 2.3: Categorize Changes
Group by: Features Added/Modified/Removed, Configuration Changes, Dependencies, Architecture Changes, Bug Fixes, Documentation.
| Change Type | Target File(s) |
|-------------|----------------|
| New capabilities | docs/INDEX.md, system/project_overview.md |
| Dependencies changed | docs/INDEX.md |
| New features | system/project_overview.md |
| New API endpoints | testing/api-reference.md |
| New env variables | testing/usage.md, testing/how_to_run.md |
| New components | system/architecture.md |
| Build/test changes | sop/development-workflow.md |
For each file needing updates:
Size Limits: usage.md 120 lines, architecture.md 700 words, api-reference.md 200 lines/group, project_overview.md 150 lines.
Update: Key Capabilities, Tags, Dependencies, Depended On By, Dependency Graph, Correlation Matrix.
echo "$CURRENT_COMMIT" > ${ARKADIAN_DIR}/docs/projects/<project-id>/change-log/last-sync.txt
Append entry to change-log/SYNC_HISTORY.md with date, commits analyzed, changes made.
git checkout -b feat/docs-update-<project-id>
git add docs/INDEX.md docs/projects/<project-id>/
git commit -m "docs(<project-id>): update documentation for recent changes"
Show: sync summary (previous/current commit, commits analyzed), documentation updates (files modified, features added, breaking changes), and next steps.
For dry-run: show what WOULD change without modifying anything.
testing
Remove a project from the Arkadian documentation registry and delete all associated documentation files. Use when: user wants to deregister a project.
tools
RESTRICTED to ark-project-manager. Generate actionable, dependency-ordered task lists organized by user story.
testing
RESTRICTED to ark-project-manager. Create or update feature specifications from natural language descriptions.
content-media
RESTRICTED to ark-project-manager. Execute implementation planning workflow to generate design artifacts.