scaffold-skill-marketplace (a claude skill for claude skills)
说明与用途
scaffold-skill-marketplace 脚本自动化创建 Claude Code 市场仓库,一次性生成所有必需文件和配置。
问题
Creating a new Git repository that serves as a shareable Claude Code plugin marketplace requires repetitive boilerplate files and configuration.
结果
The scaffold script automates the creation of a fully functional Claude Code marketplace repository, reducing manual setup time and ensuring consistency across files and versioning.
工作流
- Run
bash scripts/scaffold.sh --name <name> --owner-name "Your Name" --owner-email "[email protected]" --target-dir ./<dir> - The script renders 15 templates using sed, substituting 6 placeholders (MARKETPLACE_NAME, PLUGIN_NAME, DESCRIPTION, OWNER_NAME, OWNER_EMAIL, VERSION).
- It copies the validator script unchanged.
- It writes the files and stops, printing instructions for
git init, creating the repo, and testing withclaude --plugin-dir "$(pwd)". - If the target directory is non-empty, the script refuses unless
--forceis used and confirms with the user before proceeding.
证据
scaffold-skill-marketplace is a repo I created that only needs a name, then writes a git repo that other people can install claude code skills from.
the script renders 15 templates from references/templates/ with sed, substituting 6 placeholders:
releases run on semantic-release from conventional commits:
- 记录日期: 2026-10-08T22:55:56.768Z