# Ln 751 Command Templates

> Ln 751 Command Templates is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Generates individual .claude/commands files from templates

- Skill name: `ln-751-command-templates`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/skills/ln-751-command-templates/SKILL.md
- Repository: majiayu000/claude-skill-registry (498 GitHub stars when collected)

## SKILL.md

# 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

| Aspect | Details |
|--------|---------|
| **Input** | Template name, variable values from ln-750 |
| **Output** | `.claude/commands/{command}.md` file |
| **Templates** | Located in `references/` directory |

---

## Available Templates

| Template | Output File | Required |
|----------|-------------|----------|
| `refresh_context_template.md` | refresh_context.md | Always |
| `refresh_infrastructure_template.md` | refresh_infrastructure.md | Always |
| `build_and_test_template.md` | build-and-test.md | Always |
| `ui_testing_template.md` | ui-testing.md | If Playwright |
| `deploy_template.md` | deploy.md | If CI/CD |
| `database_ops_template.md` | database-ops.md | If 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

See individual templates in `references/` for full variable lists.

---

**Version:** 2.0.0
**Last Updated:** 2026-01-10

---

Source: https://www.openparable.com/skill/agent-building/ln-751-command-templates (OpenParable). Cite the canonical URL above.
