.agents/skills/template-initialization/SKILL.md
Initialize a new project from template-ts non-interactively. Use when the user wants to set up a fresh repository from the template, customize project metadata (name, author, description), configure package scope, and optionally remove example packages/tests. This automates the entire scripts/init-template.mjs workflow without manual prompts. Now includes intelligent defaults detection, skills discovery, and Copilot integration.
npx skillsauth add pradeepmouli/zod-to-form template-initializationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Automate project initialization from template-ts by driving the interactive script non-interactively. The script now features intelligent defaults auto-detection from git config and environment, skills discovery based on project context, and automatic installation of specify tools for GitHub Copilot.
Collect these from the user before proceeding (or use intelligent defaults):
project_name - Project name (default: auto-detected from basename $(pwd))author_name - Author name (default: auto-detected from git config user.name)description - Project description (no default, user must provide)Optional (intelligent defaults provided):
author_email - Author email (default: auto-detected from git config user.email)repository_url - Repository URL (default: auto-detected from git remote.origin.url)package_scope - Package scope (default: if monorepo use the project name, otherwise extract from project name e.g., "acme-app" → "acme", fallback: "")remove_example_packages - Remove example packages? (default: "y")remove_example_tests - Remove example tests? (default: "y")remove_example_e2e - Remove E2E tests? (default: "y")replace_template_initialization - Replace TEMPLATE_INITIALIZATION.md? (default: "y")Run the init script using zx:
# Example with intelligent defaults (most values will be auto-detected)
# The script is interactive, so run it directly
node scripts/init-template.mjs
Note:
y) confirms to proceed after showing the configuration summaryThe script now automatically analyzes the project description and recommends relevant skills from https://skills.sh/. This happens transparently during initialization. The recommended skills will be available in agent-specific directories (.copilot/, .claude/, .codex/, .gemini/).
The script automatically installs specify tools for GitHub Copilot:
uvx specify --ai copilot - Installs specify with Copilot agentuvx specify-extend --agent copilot - Installs specify extensionsIf uvx is not available, the script provides instructions for manual installation.
Run validation commands:
pnpm run lint
pnpm test
package.json - Project metadata, author, description, repositoryREADME.md - Generated with project detailsAGENTS.md - Generated with project name and agent guidance (with correct "Copilot" capitalization)scripts/TEMPLATE_INITIALIZATION.md - Optionally replaced with starter guide.copilot/skills/ - Skills directory created with symlinks to recommended skillsbasename $(pwd)git config user.namegit config user.emailgit config remote.origin.urlscripts/discover-skills.mjs to analyze project contextuvx specify --ai copilotuvx specify-extend --agent copilotReport to user:
tools
Use when working with zod-to-form (core, react, cli, codegen, vite).
tools
Vite plugin for zod-to-form — transforms ?z2f imports into generated form components and optionally replaces <ZodForm> JSX call sites with generated components at build time Use when: You want `import SignupForm from './signup.schema?z2f'` to Just Work in a.... Also: vite, vite-plugin, zod, zod-v4, codegen, forms, form-generation, schema-driven, react-hook-form, build-plugin, jsx-transform.
development
Runtime <ZodForm> renderer for Zod v4 schemas Use when: You need form rendering in storybook, playgrounds, or low-traffic admin UIs —.... Also: zod, zod-v4, react, forms, form-generation, react-hook-form, schema-driven, dynamic-forms, form-renderer, hookform-resolver, zod-form-renderer.
development
Schema walker and processor registry for Zod v4 form generation Use when: You want per-field validation instead of whole-form validation. Also: zod, zod-v4, forms, form-generation, schema, schema-walker, processor-registry, react-hook-form, schema-driven, form-schema, zod-registry.