What this skill does
Create reusable starter templates from existing project patterns.
Current file
SKILL.md
Create a reusable starter template from the user's own project patterns. The template should feel like the user's normal way of starting a new idea, not a generic boilerplate.
Do not read, copy, or include:
.env
.env.local
secrets
credentials
API keys
private databases
uploads
outputs
node_modules
.next
dist
build
.venv
coverage
cache folders
large generated assets
Use .env.example with placeholder values instead of real secrets.
If the user does not specify a root, ask:
Which folder should I scan for your projects?
Common examples:
~/Projects
~/Code
~/Desktop/code
~/Developer
Scan one level of project folders first. Only go deeper when the user has a nested workspace or monorepo.
Look for signal files:
package.json
pnpm-lock.yaml
yarn.lock
package-lock.json
bun.lockb
next.config.js
next.config.mjs
next.config.ts
vite.config.js
vite.config.ts
tsconfig.json
tailwind.config.js
tailwind.config.ts
postcss.config.js
eslint.config.js
eslint.config.mjs
biome.json
pyproject.toml
Cargo.toml
go.mod
README.md
.env.example
AGENTS.md
CLAUDE.md
Useful shell scan:
find "$PROJECTS_ROOT" -maxdepth 2 -type f \
\( -name package.json -o -name pyproject.toml -o -name Cargo.toml -o -name go.mod \
-o -name README.md -o -name 'next.config.*' -o -name 'vite.config.*' \
-o -name tsconfig.json -o -name '.env.example' -o -name AGENTS.md -o -name CLAUDE.md \)
For JavaScript/TypeScript projects, inspect representative package.json files for:
dependencies
devDependencies
scripts
packageManager
Infer package manager:
pnpm-lock.yaml -> pnpm
yarn.lock -> yarn
bun.lockb -> bun
package-lock.json -> npm
Infer framework:
next.config.* or dependency "next" -> Next.js
vite.config.* or dependency "vite" -> Vite
dependency "react" -> React
tailwind config or dependency "tailwindcss" -> Tailwind
pyproject.toml -> Python
go.mod -> Go
Cargo.toml -> Rust
Before creating files, tell the user what you found:
I found mostly:
- Next.js + React + TypeScript
- npm/pnpm
- app/ or src/ app structure
- Tailwind or global CSS
- scripts: dev, build, lint, typecheck
- README + .env.example
If there are multiple strong clusters, ask which template to create:
I see both Next.js apps and Vite apps. Should the template be Next.js, Vite, or both?
Default to one focused starter template. Make multiple templates only if the user asks or if the project patterns are clearly split.
Good template scopes:
next-app-template
vite-react-template
python-cli-template
go-service-template
fullstack-app-template
agent-ready-next-template
Recommended structure:
template-name/
README.md
.gitignore
.env.example
package.json or equivalent manifest
tsconfig.json or language config
app/ or src/
public/ if needed
AGENTS.md if useful
For Next.js-heavy users:
app/, components/, and lib/ only if the user's projects commonly use them.For Vite-heavy users:
src/, index.html, vite.config.*, and minimal app components.dev and build.For Python/Go/Rust:
Use generic names:
{{PROJECT_NAME}}
{{PROJECT_DESCRIPTION}}
{{APP_NAME}}
Or use a neutral starter name like:
new-project
starter
template-app
Do not copy project-specific:
brand names
customer names
internal API URLs
private copy
private assets
database files
production credentials
Include a short README with:
# Template Name
## Use
git clone <repo-url> my-new-project
cd my-new-project
## Setup
install command
copy .env.example .env.local
## Development
dev command
## Build
build command
## Rename Checklist
- update package/app name
- update README
- update env values
- replace placeholder UI copy
Run practical checks:
install dependencies
typecheck
lint
build
test if available
For frontend templates, start the dev server when possible and verify the first screen renders.
If a check cannot run, explain why.
After the template is created and validated, ask:
Do you want me to put this template on GitHub so you can clone it later?
If yes, confirm:
repo name
owner/user/org
visibility: private or public
default branch
whether it should be marked as a GitHub template repository
Then:
gh.Example final commands to show:
git clone <repo-url> my-new-project
cd my-new-project
npm install
npm run dev
Never publish to GitHub without explicit confirmation.
Report:
template path
patterns detected
files created
commands run
checks passed/failed
GitHub URL if published
next suggested use command
Install with CLI
Copy this command to install this skill directly from the registry.
npx @sklx/cli add "Project Template From Projects"Compatible
Version notes
Initial release.