mcpField
L
ln-751-command-templates

ln-751-command-templates

github.com/levnikolaevichAgent workflows58483 installsUpdated 2d ago
Repository

About ln-751-command-templates

ln-751-command-templates is a worker skill that generates Claude Code command files from predefined templates and variables supplied by ln-750. It writes the substituted results to `.claude/commands/` and rejects unresolved placeholders.

Key features

  1. 01Load predefined command templates
  2. 02Substitute Handlebars-style variables
  3. 03Generate files in `.claude/commands/`
  4. 04Fail on unresolved placeholders
  5. 05Report success or failure

Use cases

  1. 01Create project context commands
  2. 02Generate build and test commands
  3. 03Prepare deployment or database commands
  4. 04Add UI testing commands when Playwright is used

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-751-command-templates

After installing, type/ln-751-command-templatesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
build_and_test_template.md
database_ops_template.md
deploy_template.md
refresh_context_template.md
refresh_infrastructure_template.md
ui_testing_template.md

Details

From the project README

Paths: File paths (shared/, references/, ../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.

ln-751-command-templates

Type: L3 Worker Category: 7XX Project Bootstrap Parent: ln-750-commands-generator

Generates Claude Code commands from templates with variable substitution.


Overview

AspectDetails
InputTemplate name, variable values from ln-750
Output.claude/commands/{command}.md file
TemplatesLocated in references/ directory

Available Templates

TemplateOutput FileRequired
refresh_context_template.mdrefresh_context.mdAlways
refresh_infrastructure_template.mdrefresh_infrastructure.mdAlways
build_and_test_template.mdbuild-and-test.mdAlways
ui_testing_template.mdui-testing.mdIf Playwright
deploy_template.mddeploy.mdIf CI/CD
database_ops_template.mddatabase-ops.mdIf Database

Workflow

  1. Receive template name and variables from ln-750
  2. Load template from references/{template}.md
  3. Substitute all {{VARIABLE}} placeholders
  4. Write to .claude/commands/ directory
  5. Report success/failure to coordinator

Variable Syntax

All templates use Handlebars-style syntax: {{VARIABLE_NAME}}

Common variables:

  • {{PROJECT_NAME}} — Project name
  • {{FRONTEND_ROOT}} — Frontend source path
  • {{BACKEND_ROOT}} — Backend source path
  • {{FRONTEND_PORT}} — Frontend dev server port
  • {{BACKEND_PORT}} — Backend API port
  • {{TECH_STACK}} — Technology stack summary

MANDATORY READ: Load templates from references/ for full variable lists.


Critical Rules

  • Template-driven only: All output generated from references/ templates, never freeform
  • Full substitution: Every {{VARIABLE}} must be replaced; fail if any placeholder unresolved
  • Write to correct path: Output always goes to .claude/commands/, never elsewhere
  • No template modification: Templates in references/ are read-only; only output files are written

Definition of Done

  • Template loaded from references/{template}.md
  • All {{VARIABLE}} placeholders substituted with values from ln-750
  • Output written to .claude/commands/{command}.md
  • Success/failure reported back to coordinator

Reference Files


Version: 2.0.0 Last Updated: 2026-01-10

Comments

Markdown supported