copier-scaffold
Skill1 starsChanged 7 months agoMITView on GitHub
Scaffold a new project with Copier. Before writing any project from scratch (new Go library, Python project, TypeScript project, Rust project, Docker image, GitHub Action, Ansible role, Terraform/Ansible IaC, browser extension, VSCode/Gnome/Vicinae extension, Astro site, FluxCD project, etc.), search brpaz's GitHub for a matching copier-* template and offer to use it instead of hand-rolling boilerplate. Use whenever the user says 'new project', 'scaffold', 'bootstrap', 'start a new repo/library/CLI/extension', or names a stack that could match an existing template.
In this repository36 other files it gives its agents.
- skills/backend-best-practices/AGENTS.mdAGENTS.md
- adr-writerSkill
- application-healthchecksSkill
- backend-best-practicesSkill
- bspec-prd-discoverySkill
- bspec-story-implementationSkill
- bspec-story-reviewSkill
- bspec-story-syncSkill
- bspec-technical-architectureSkill
- bspec-workflowSkill
- conventional-commitsSkill
- devenvSkill
- direnvSkill
- docker-composeSkill
- dockerfileSkill
- docker-setupSkill
- docs-writerSkill
- github-actions-dockerSkill
- gitleaks-setupSkill
- golang-developmentSkill
- golang-slogSkill
- golang-testingSkill
- playwright-devenvSkill
- project-webappSkill
- readme-writerSkill
- release-drafter-setupSkill
- release-drafterSkill
- release-notesSkill
- renovate-pr-triageSkill
- renovate-setupSkill
- structured-loggingSkill
- summarize-articleSkill
- summarize-youtube-videoSkill
- tailwind-v4Skill
- vicinae-extensionsSkill
- zensical-setupSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use when starting a brand-new project.
- Very specific: line 14
All of brpaz's copier templates are tagged with the GitHub topic copier-template.
- Distinctive: line 46
If nothing matches, say so plainly and proceed with scaffolding from scratch per the normal.
- Very specific: line 48
If more than one template plausibly fits, list the candidates with their description and ask the user to pick rather than guessing.
- Very specific: line 79
Don't assume the new project needs docker-setup, renovate-setup, etc.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copier Scaffold — scaffold new projects from brpaz's Copier templates
Use when starting a brand-new project. Reference: copier.readthedocs.io.
1. Discover available templates
All of brpaz's copier templates are tagged with the GitHub topic copier-template. List them before assuming none exist:
gh search repos --owner brpaz --topic copier-template --json name,description,url,updatedAtThis is the authoritative, up-to-date list — don't rely on memory of what templates exist, new ones get added. If gh isn't authenticated or the search fails, fall back to browsing https://github.com/brpaz?tab=repositories&q=copier-.
2. Match the request to a template
Compare the user's stack/intent against the name/description fields returned above. Typical mappings (confirm against the live list, don't hardcode this as gospel — it changes):
| User wants | Template repo |
| Go library | copier-go |
| Python project | copier-python |
| TypeScript project | copier-typescript |
| Rust project | copier-rust |
| Docker image | copier-docker-image |
| GitHub Action (TypeScript) | copier-github-action-ts |
| GitHub Action (Docker) | copier-github-action-docker |
| Ansible role | copier-ansible-role |
| Terraform + Ansible IaC | copier-iac |
| FluxCD / GitOps project | copier-fluxcd |
| Astro website | copier-astro |
| Browser extension | copier-browser-ext |
| VSCode extension | copier-vscode-ext |
| Gnome extension | copier-gnome-ext |
| Vicinae extension | copier-vicinae-ext |
| A new Copier template itself | copier-copier |
| Release Drafter config only (not a full project) | copier-release-drafter |
If nothing matches, say so plainly and proceed with scaffolding from scratch per the normal. don't force-fit an unrelated template.
If more than one template plausibly fits, list the candidates with their description and ask the user to pick rather than guessing.
3. Prefer the local checkout, fall back to GitHub
Local clones live at ~/Code/Templates/copier-<name>/ (the directory name doesn't always match the repo name exactly — check ls ~/Code/Templates/ | grep copier). If a matching local checkout exists:
git -C ~/Code/Templates/copier-<name> pullPull first so the scaffold uses the latest version, then run copier against that local path. If no local checkout exists, run copier directly against the GitHub shorthand — no need to clone manually, copier does it:
copier copy gh:brpaz/<repo> <destination>4. Run copier
copier copy <source> <destination><source>is either the local path from step 3 or thegh:brpaz/<repo>shorthand.<destination>is the new project directory — confirm the path and name with the user before running if it wasn't explicit (this creates a new directory and, for most of brpaz's templates, runs post-generation tasks).- Copier templates can define
_tasksthat execute shell commands after generation (git init, installing hooks, etc. — see any template'scopier.yml). Copier will prompt for--trustitself when a template defines tasks; since these are the user's own templates the intent is legitimate, but still treat the confirmation prompt as real and don't script around it. - Answer the interactive prompts as they come up, using context already known about the project (name, description, GitHub repo slug) instead of asking the user to retype what they already told you.
5. After generation
q::wq- cd into the new project and read the generated README.md — brpaz's templates typically document their own next steps (e.g. devenv shell, enabling GitHub Actions, setting secrets).
- Don't assume the new project needs
docker-setup,renovate-setup, etc. run again — these templates usually already bake that in. Check what's already there before layering another skill on top of it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

