ln-751-command-templates
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseln-751-command-templates
ln-751-命令模板
Type: L3 Worker
Category: 7XX Project Bootstrap
Parent: ln-750-commands-generator
Generates Claude Code commands from templates with variable substitution.
类型: L3 Worker
分类: 7XX 项目引导
父级: ln-750-命令生成器
通过变量替换从模板生成Claude Code命令。
Overview
概述
| Aspect | Details |
|---|---|
| Input | Template name, variable values from ln-750 |
| Output | |
| Templates | Located in |
| 方面 | 详情 |
|---|---|
| 输入 | 模板名称,来自ln-750的变量值 |
| 输出 | |
| 模板位置 | 位于 |
Available Templates
可用模板
| Template | Output File | Required |
|---|---|---|
| refresh_context.md | Always |
| refresh_infrastructure.md | Always |
| build-and-test.md | Always |
| ui-testing.md | If Playwright |
| deploy.md | If CI/CD |
| database-ops.md | If Database |
| 模板 | 输出文件 | 适用条件 |
|---|---|---|
| refresh_context.md | 始终需要 |
| refresh_infrastructure.md | 始终需要 |
| build-and-test.md | 始终需要 |
| ui-testing.md | 当使用Playwright时 |
| deploy.md | 当使用CI/CD时 |
| database-ops.md | 当涉及数据库时 |
Workflow
工作流程
- Receive template name and variables from ln-750
- Load template from
references/{template}.md - Substitute all placeholders
{{VARIABLE}} - Write to directory
.claude/commands/ - Report success/failure to coordinator
- 接收 来自ln-750的模板名称和变量
- 加载 中的模板
references/{template}.md - 替换 所有占位符
{{VARIABLE}} - 写入 到目录
.claude/commands/ - 上报 成功/失败状态给协调器
Variable Syntax
变量语法
All templates use Handlebars-style syntax:
{{VARIABLE_NAME}}Common variables:
- — Project name
{{PROJECT_NAME}} - — Frontend source path
{{FRONTEND_ROOT}} - — Backend source path
{{BACKEND_ROOT}} - — Frontend dev server port
{{FRONTEND_PORT}} - — Backend API port
{{BACKEND_PORT}} - — Technology stack summary
{{TECH_STACK}}
See individual templates in for full variable lists.
references/Version: 2.0.0
Last Updated: 2026-01-10
所有模板使用Handlebars风格的语法:
{{VARIABLE_NAME}}常见变量:
- — 项目名称
{{PROJECT_NAME}} - — 前端源码路径
{{FRONTEND_ROOT}} - — 后端源码路径
{{BACKEND_ROOT}} - — 前端开发服务器端口
{{FRONTEND_PORT}} - — 后端API端口
{{BACKEND_PORT}} - — 技术栈概述
{{TECH_STACK}}
查看目录下的各个模板以获取完整变量列表。
references/版本: 2.0.0
最后更新: 2026-01-10