.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/rune-langium 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
Router skill for the rune-langium monorepo. Use it to choose the right package skill before working in core, cli, lsp-server, codegen, or visual-editor.
tools
Router skill for the rune-langium monorepo. Use it to choose the right package skill before working in core, cli, lsp-server, codegen, or visual-editor.
tools
Langium port for Rune DSL tooling Use when working with rune, rosetta, dsl, langium, cdm, isda, drr, finos, language-server, lsp, visual-editor, reactflow.
tools
Langium port for Rune DSL tooling Use when working with rune, rosetta, dsl, langium, cdm, isda, drr, finos, language-server, lsp, visual-editor, reactflow.