This skill should be used when archiving completed knowledge-base artifacts (brainstorms, plans, specs) to their archive/ subdirectories with timestamp prefixes and git history preservation.
From soleurnpx claudepluginhub jikig-ai/soleur --plugin soleurThis skill uses the workspace's default tool permissions.
scripts/archive-kb.shArchive brainstorms, plans, and spec directories for a completed feature branch.
The script generates timestamps internally and uses git mv to preserve history.
Run the archive script from the repository root. It derives the feature slug from the current branch name automatically:
bash ./plugins/soleur/skills/archive-kb/scripts/archive-kb.sh
To preview what would be archived without making changes:
bash ./plugins/soleur/skills/archive-kb/scripts/archive-kb.sh --dry-run
To archive a specific slug (override branch detection):
bash ./plugins/soleur/skills/archive-kb/scripts/archive-kb.sh my-feature-slug
The script discovers artifacts matching the feature slug:
| Directory | Match Pattern | Type |
|---|---|---|
knowledge-base/project/brainstorms/ | Filename contains slug | File glob |
knowledge-base/project/plans/ | Filename contains slug | File glob |
knowledge-base/project/specs/feat-<slug>/ | Exact directory name | Directory match |
All archive/ subdirectories are excluded from discovery.
git add before git mv to handle untracked filesgit mv on the directory