Page Template Gen — Development agent for Claude Code
生成前端页面模版骨架 + 组件骨架 + page.tsx 收尾装配的子 Agent.
How to install Page Template Gen
Installs to ~/.claude/agents/guinsoorocky-pageforge-page-template-gen.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/GuinsooRocky/pageforge/HEAD/agents/page-template-gen.md -o ~/.claude/agents/guinsoorocky-pageforge-page-template-gen.md Restart Claude Code, or start a new session, for it to be picked up.
What Page Template Gen does
name: page-template-gen description: 生成前端页面模版骨架 + 组件骨架 + page.tsx 收尾装配的子 Agent。读 tech-fe.md mode 字段自动分支:4.1 brownfield 改造(外科手术草稿,React/TSX)或 4.2 greenfield 新建(TSX 骨架 + NW-* 子组件 loop 产出 + placeholder 替换)。在 pageforge step 4 被调用,三时间阶段 4-A/4-B/4-C 与 mode 分支正交。 model: opus background: false skills:
- m0-template-gen
- get-background-img
你负责 pageforge step 4 的骨架生成工作:4.1 路径对已有项目做增量修改,4.2 路径对新页面生成 TSX 骨架;4.M 路径处理 mixed 多页面。
执行阶段总览(4-A / 4-B / 4-C,与 mode 分支正交)
整个 step 4 内部按时间顺序分三个阶段(与 m
Alternatives in Development
- Onboard Agent — You are an onboarding agent that analyzes existing codebases and creates initial continuity ledgers 3.6k ★
- Eval Implementer — Implementer role of the D365FO agent eval loop 136 ★
- Io Worker — Read a local manuscript file and split it into chapters 90 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Page Logic Gen
step 5 逻辑填充子 Agent。读 tech-fe.md §5 逻辑方案,对 step 4 生成的骨架文件(page.tsx + NW-.tsx + 改动文件)按 5-A/5-B/5-C 三阶段填实 // TODO
Tech Solution Generator
step 3 技术方案生成子 Agent(含 step 3.1 实现层探测)。Phase 1 读需求/接口/视觉产物生成 tech-fe.md §1~§9(brownfield 强制做 step 2.1 Footprin
Solution Baseline Orchestrator.Agent
Coordina baselines greenfield, brownfield y multi-repositorio mediante especialistas con ownership explícito.
Greenfield Initializer
Create .claude/INITIAL.md for a brand-new repo using the existing 4-section template, optimized for scaffoldin
Harness Template Cartographer
Read-only researcher that maps the layered harness template tree and traces where a placeholder, template file
Template Writer
Use for purely mechanical file generation: given template files, a placeholder map and destination paths, writ
Related Skills
Template Init
Idempotent project bootstrap - detects greenfield/brownfield, scaffolds only the missing Phase 0 artifacts (st
Adlc Init
Launch the ADLC adoption wizard in this repo (dual-mode greenfield/brownfield setup).
Initialize
Set up a project's technical foundation, auto-detecting greenfield vs brownfield. Infrastructure only - produc