project-template-dev
Manage project template hierarchy with unified improvement workflow. Route fixes to plugins or parent templates automatically, quick-capture ideas, unified end-of-session reviews covering both plugins and templates.
v2.2.12Updated
- project-template
- template-hierarchy
- feedback
- scaffold
- stack
- CLAUDE.md
- skills
- agents
- commands
- improve
- capture
- unified-wrap-up
Install
Pick your agent for the steps.
Install on Claude Code
1.Add the marketplace
/plugin marketplace add Agents-Store/claude-plugins2.Install the plugin
/plugin install project-template-dev@agents-store-claude-pluginsType it inside Claude Code.
Install on GitHub Copilot CLI
1.Add the marketplace
copilot plugin marketplace add Agents-Store/claude-plugins2.Install the plugin
copilot plugin install project-template-dev@agents-store-claude-plugins
GitHub Copilot CLI does not receive: commands, agents.
Install on Cursor
1.Manual install
Cursor has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Cursor reads plugins from.
Cursor’s plugin documentation now lives at docs.grok.com (cursor.com/docs/plugins redirects there). Plugins come from its marketplace, a team marketplace or a local folder.
Install on Codex
1.Add the marketplace
codex plugin marketplace add Agents-Store/codex-plugins2.Install the plugin
codex plugin add project-template-dev@agents-store-codex-plugins
Codex does not receive: commands, agents.
Install on Gemini CLI
1.Clone the mirror
git clone https://github.com/Agents-Store/gemini-extensions2.Install the plugin
gemini extensions link ./gemini-extensions/project-template-devRun it from the folder you cloned into.
Consumer access to Gemini CLI ended on 2026-06-18. This target serves enterprise Gemini Code Assist; Antigravity is the consumer successor.
Install on Antigravity
1.Clone the mirror
git clone https://github.com/Agents-Store/antigravity-skills2.Install the plugin
agy plugin install ./antigravity-skills/project-template-devRun it from the folder you cloned into.
Antigravity does not receive: commands.
Install on Kimi Code
1.Clone the mirror
git clone https://github.com/Agents-Store/kimi-plugins2.Install the plugin
/plugins install ./kimi-plugins/project-template-devRun it from the folder you cloned into, and type it inside Kimi Code.
Kimi Code does not receive: commands, agents, hooks, MCP servers.
Install on Devin
1.Install the plugin
devin plugins install Agents-Store/devin-plugins#project-template-dev
Devin does not receive: commands, agents, hooks, MCP servers.
Install on Hermes Agent
1.Install the plugin
hermes plugins install Agents-Store/hermes-plugins/project-template-dev
Hermes Agent does not receive: commands, agents, hooks, MCP servers.
Install on OpenCode
1.Manual install
OpenCode has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place OpenCode reads plugins from.
OpenCode does not receive: hooks.
Install on Pi
1.Manual install
Pi has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Pi reads plugins from.
Pi does not receive: commands, agents, hooks, MCP servers.
Install on OpenClaw
1.Clone the mirror
git clone https://github.com/Agents-Store/openclaw-generated-plugins2.Install the plugin
openclaw plugins install ./openclaw-generated-plugins/project-template-devRun it from the folder you cloned into.
OpenClaw does not receive: commands, agents, hooks, MCP servers.
Install on Agent Plugins 1.0
1.Manual install
Agent Plugins 1.0 has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Agent Plugins 1.0 reads plugins from.
Agent Plugins 1.0 does not receive: commands, agents, hooks.
What is inside
Skills (10)
- audit-stack
Use when the user asks to "audit project stack", "analyze technologies", "scan dependencies", "generate stack.json", "what template level is this project", "map project to layers", or wants to discover all technologies in a codebase and get template and stack.json recommendations.
- capture
Use this skill when the user says "capture this", "note this for later", "remember to fix this", "save this improvement", "add to backlog", "I'll fix this later", or wants to quickly jot down an improvement idea without interrupting their current work. Defers routing and application to the wrap-up session.
- create
Use this skill when the user asks to "create a new template", "scaffold a Level 1 template", "create project-{stack}", "make a new stack template", "fork project-template", "create a demo template", "set up a new project from template", or wants to create any new project template at Level 1, 1.5, or 2 from the universal base or a stack template.
- examples
Use this skill when the user asks for "examples", "how does template feedback work", "show me a walkthrough", "demo the template workflow", or needs to see end-to-end scenario walkthroughs for the project-template-dev plugin.
- feedback
Use this skill when the user says "this should be in the parent template", "fix the template", "add this to project-template", "send feedback to parent", "improve the base template", "this skill belongs in the template", "update the parent", "push this up to the template", "the template needs this", "this is missing from the template", or discovers any issue while working in a child project that should be fixed in a parent template (Level 0 or Level 1).
- improve
Use this skill when the user says "improve", "this should be better", "fix this in the source", "this belongs in the plugin", "this belongs in the template", "push this upstream", "improve the plugin", "improve the template", or discovers any improvement while working in a child project that should go to either a plugin or a parent template. This is the unified entry point that auto-routes to the correct system.
- sync
Use this skill when the user says "sync from parent", "pull template changes", "merge parent template", "update from project-template", "my project is out of sync", "get latest template changes", "sync template", or needs to propagate improvements from a parent template (Level 0 or Level 1) down to a child project.
- template-reference
Use this skill when the user asks about "template hierarchy", "template levels", "project template conventions", "what files go in a template", "Level 0 vs Level 1", "template structure", "what belongs in the parent template", or needs reference documentation for the project template system and its 4-level hierarchy.
- validate
Use this skill when the user asks to "validate template", "check template structure", "is my template correct", "verify template conventions", "validate project template", "check template files", or needs to verify that a project template follows the Level 0/1/1.5/2 conventions and has all required files.
- wrap-up
Use this skill when the user says "wrap up", "end session", "done for today", "session review", "what should go into the template", "template improvements", "save template learnings", "review what we did for the template", "plugin improvements", "what should go into the plugin", or at the end of a work session to review what discoveries should be pushed up to parent templates or plugins.
Commands (8)
- audit-stack
Scan a project's source code and produce a stack audit with technology layers, architecture recommendations, and template/stack.json generation suggestions
- capture
Quick-capture an improvement idea without interrupting work — saves to backlog for later processing during wrap-up
- create
Create a new project template at Level 1, 1.5, or 2 by cloning and customizing a parent template
- feedback
Report an issue in the current project that should be fixed in a parent template (Level 0 or Level 1)
- improve
Unified improvement — auto-routes fixes to the correct plugin or parent template based on what kind of knowledge it is
- sync
Sync the current child project from its parent template — pull latest skills, commands, rules, and configs
- validate
Validate a project template against Level 0/1/1.5/2 conventions and required file structure
- wrap-up
End-of-session review — find plugin and template improvements, process captured backlog, push fixes to sources
Agents (1)
- template-architect
Use this agent when the user needs help deciding where an improvement belongs in the template hierarchy — Level 0 (universal) vs Level 1 (stack-specific) vs project-only, or when planning a new template's structure. <example> Context: User is unsure where a skill should live user: "Should this 'new-page' skill go in project-template (Level 0) or project-directus-nextjs (Level 1)?" assistant: "I'll use the template-architect agent to analyze whether this skill is universal or stack-specific." <commentary> The 'new-page' skill depends on Next.js and Directus specifics, so it belongs at Level 1 (stack-specific), not Level 0 (universal). </commentary> </example> <example> Context: User found a gotcha while working and wants to push it to a template user: "The safety rule about never force-pushing to main should probably be in the base template, but the Directus SDK caching gotcha shouldn't, right?" assistant: "I'll use the template-architect agent to analyze the feedback routing." <commentary> Generic git safety → Level 0 (all stacks). Directus SDK caching → Level 1 (project-directus-nextjs only). </commentary> </example> <example> Context: User discovered a tool API pattern that a plugin should document user: "The Directus SDK needs cache: 'no-store' on every fetch — should this go in the template or the plugin?" assistant: "I'll use the template-architect agent to determine if this is a plugin or template improvement." <commentary> Tool-specific SDK knowledge → Plugin (directus-dev). Not a template concern — it's about how the tool works, not project structure. </commentary> </example> <example> Context: User wants to create a new stack template user: "I want to create a template for Supabase + Nuxt projects" assistant: "I'll use the template-architect agent to plan the template structure and identify which plugins to include." <commentary> Multi-technology template implies Level 1. The agent plans layers, identifies existing plugins, and recommends structure. </commentary> </example>
README
Manage the 4-level project template hierarchy. Send feedback from child projects to parent templates, create new stack templates, and validate template conventions.
Template Hierarchy
| Level | Pattern | Parent | Example |
|---|---|---|---|
| 0 | project-template | none | Universal base |
| 1 | project-{stack} | project-template | project-directus-nextjs |
| 1.5 | demo-{stack} | project-{stack} | demo-directus-nextjs |
| 2 | {client}-{project} | project-{stack} | acme-website |
Each level inherits from its parent. Templates own project-level knowledge (how THIS project works); plugins own tool-level knowledge (how to USE a specific tool).
Quick Start
While working in any child project:
# Send feedback to parent template
/project-template-dev:feedback add VERCEL_TOKEN to .env.example
# End-of-session template review
/project-template-dev:wrap-up
# Create a new Level 1 stack template
/project-template-dev:create Level 1 template for Directus + Next.js
# Validate current template
/project-template-dev:validate
Skills
| Skill | Description |
|---|---|
feedback | Push improvements from child project to parent template |
wrap-up | End-of-session review of template and plugin improvements |
capture | Quick-capture an improvement idea into the backlog for wrap-up |
improve | Route an improvement to the right plugin or parent template |
sync | Pull parent-template changes down into the current project |
create | Create new template from parent (Level 1, 1.5, or 2) |
validate | Check template structure per level conventions |
audit-stack | Scan a codebase, classify its technologies into layers, recommend a template and stack.json |
template-reference | Reference docs for template hierarchy and conventions |
examples | End-to-end scenario walkthroughs |
Commands
| Command | Description |
|---|---|
/project-template-dev:feedback | Report and fix a parent template issue |
/project-template-dev:wrap-up | Session review for template improvements |
/project-template-dev:capture | Jot down an improvement for the wrap-up |
/project-template-dev:improve | Auto-route an improvement to a plugin or a template |
/project-template-dev:sync | Sync the project from its parent template |
/project-template-dev:create | Create new project template |
/project-template-dev:validate | Validate template structure |
/project-template-dev:audit-stack | Audit a project's stack and recommend a template |
Agent
| Agent | Purpose |
|---|---|
template-architect | Helps decide Level 0 vs Level 1 routing, plans template structure |
Setup
Environment Variable
Add to ~/.claude/settings.json:
{
"env": {
"PROJECT_TEMPLATES_DIR": "/path/to/project-templates",
"PROJECT_TEMPLATES_GITHUB_ORG": "your-github-org"
}
}
PROJECT_TEMPLATES_DIR points to the directory containing all template repos (project-template, project-directus-nextjs, etc.);
PROJECT_TEMPLATES_GITHUB_ORG is the GitHub organization that hosts them. If it is unset, the plugin asks for it.
How Template Routing Works
When you give feedback, the plugin:
- Reads
stack.jsonin the current project to find theparentfield - Looks for
$PROJECT_TEMPLATES_DIR/{parent}/ - If not found locally, offers to clone from
git@github.com:$PROJECT_TEMPLATES_GITHUB_ORG/{parent}.git
Optional: Plugin Search
For the create workflow to find matching Agents Store plugins, also set:
{
"env": {
"PLUGINS_PUBLIC_SOURCE_DIR": "/path/to/claude-public-plugins/plugins",
"PLUGINS_PRIVATE_SOURCE_DIR": "/path/to/claude-plugins-private/plugins"
}
}
Template Conventions
What create generates and validate checks:
- One rules file.
AGENTS.mdholds the rules every coding tool reads;CLAUDE.mdstarts with@AGENTS.mdand adds Claude-specific lines. Nothing is generated fromCLAUDE.md;scripts/sync-context.shonly mirrors the rules into.cursor/. .mcp.jsonis committed and holds${VAR}references only. The values live in.envand.claude/settings.local.json, both gitignored..claude/settings.jsonis committed withenabledPluginsandextraKnownMarketplaces, so the plugins listed instack.jsonare offered to everyone who clones the template.- Workflows are skills (
.claude/skills/<name>/SKILL.md), not.claude/commands/files. Base workflows are namedplan-featureandcode-review-project, because the built-in/planand/reviewshadow plainplanandreview. - CLAUDE.md stays short. The template rule is under 100 lines (Anthropic's guidance is under 200). An
@docs/...import does not save context, because imported files load at launch; link long documents by plain path or move file-specific rules into.claude/rules/*.mdwithpaths:. - Stack plugins are named
stack-{name}(no process suffix), technology plugins{tool}-{process}.
Upgrading from 2.1.x
Templates built on the 2.1 layout keep working: validate reports the differences as WARN, except the two new security checks, which FAIL.
| Finding | Severity | Migration |
|---|---|---|
.mcp.json.example committed, .mcp.json gitignored | WARN | Move any real value from the local .mcp.json into .env and .claude/settings.local.json first, commit .mcp.json with ${VAR} references, drop it from .gitignore, delete the .example. Rotate any secret that was ever committed |
AGENTS.md generated from CLAUDE.md, or CLAUDE.md without @AGENTS.md | WARN | Move the shared sections into AGENTS.md, make CLAUDE.md @AGENTS.md plus the Claude-specific lines, stop generating AGENTS.md |
No .claude/settings.json, or enabledPlugins that does not match stack.json | WARN | Add extraKnownMarketplaces and enabledPlugins for the public plugins of stack.json (private plugins stay out of the committed file) |
Workflows in .claude/commands/, including plan and review | WARN | Move each to .claude/skills/<name>/SKILL.md; rename plan to plan-feature and review to code-review-project |
| CLAUDE.md between 100 and 200 lines | WARN | Trim, or move file-specific rules to .claude/rules/*.md with paths: |
Literal token, key or secret in the tracked .mcp.json | FAIL (CRITICAL) | Replace with ${VAR}; rotate the secret — editing the file does not remove it from git history |
env values or tokens in the committed .claude/settings.json | FAIL (CRITICAL) | Move them to the gitignored .claude/settings.local.json |
| CLAUDE.md over 200 lines | FAIL | Trim as above |
Plugin names in stack.json follow the marketplace renames map; check them against the current marketplace listing.
What Can Be Pushed to Parent Templates
- Skills (
.claude/skills/), including the workflow skills (commit,pr,plan-feature, ...); the older.claude/commands/<name>.mdform still works - Agents (
.claude/agents/) - Rules (
.claude/rules/) - CLAUDE.md updates
.env.examplevariables- Documentation (
docs/) - Config files, scripts, dependencies
.mcp.jsonentries (${VAR}references only).claude/settings.json(enabledPlugins,extraKnownMarketplaces)- Settings templates
What Stays in the Client Project
- Resource IDs (table IDs, workflow IDs)
- Real credentials and endpoints (
.env,.claude/settings.local.json) —.mcp.jsonis committed, but only with${VAR}references - Client-specific business logic
- Domain-specific skills
- Custom agents for client workflows
Dependencies
This plugin complements the Agents Store ecosystem:
- Optional: the private
plugin-creatorplugin (not in the public marketplace) receives plugin-level feedback fromimproveandwrap-up; without it they fall back to editing the plugin source, a GitHub issue orLEARNINGS.md - Works alongside Technology plugins (e.g.,
directus-dev) for tool knowledge - Works alongside Stack plugins (e.g.,
stack-directus-nextjs) for integration patterns - Templates reference plugins via
stack.json→pluginsarrays
Installation
Add the Agents Store marketplace once, then install the plugin from it:
claude plugin marketplace add Agents-Store/claude-plugins
claude plugin install project-template-dev@agents-store-claude-plugins
Inside a Claude Code session the same install is /plugin install project-template-dev@agents-store-claude-plugins. To try a local checkout for one session without installing it, start Claude Code with claude --plugin-dir /path/to/project-template-dev.
The plugin name is project-template-dev (formerly project-template-creator); the marketplace renames map moves installed copies to the new name.
Source
- Source on GitHub
- Mirror: Agents-Store/claude-plugins
- Mirror: Agents-Store/cursor-plugins
- Mirror: Agents-Store/codex-plugins
- Mirror: Agents-Store/gemini-extensions
- Mirror: Agents-Store/antigravity-skills
- Mirror: Agents-Store/kimi-plugins
- Mirror: Agents-Store/devin-plugins
- Mirror: Agents-Store/hermes-plugins
- Mirror: Agents-Store/opencode-plugins
- Mirror: Agents-Store/pi-extensions
- Mirror: Agents-Store/openclaw-generated-plugins
- Mirror: Agents-Store/agentplugins