Claude-skill-registry create-from-template
Create a new app or package from an existing template in the monorepo. Use when adding new apps or packages to the repository.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/create-from-template" ~/.claude/skills/majiayu000-claude-skill-registry-create-from-template && rm -rf "$T"
manifest:
skills/data/create-from-template/SKILL.mdsource content
Create a New App or Package From a Template
Overview
Create a new app or package in the monorepo using an existing template.
Workflow
- Identify the template to use from
and the target location in the monorepo (dev/templates
ordev/apps
).dev/packages - Copy the template directory to the target location and rename it appropriately. Skip copying
,coverage
,dist
, andnode_modules
directories..react-router - Update any necessary configuration files (e.g.,
) to reflect the new app or package name.package.json - The template apps and packages are located one level deeper in the directory structure (e.g.,
vs.dev/templates/apps/react
).dev/apps/some-app- Some configuration files referring to shared paths will need to be adjusted. For example, in
the path.stylelintrc.json
=>../../../config/stylelint/.stylelintrc.json../../config/stylelint/.stylelintrc.json - Same is true for
,tsconfig.json
, andtsconfig.build.json
among others.postcss.config.cjs
- Some configuration files referring to shared paths will need to be adjusted. For example, in
- Update the
file to reflect what you know about the new app or package.README.md - Install dependencies and verify the new app or package builds and runs correctly.