template-processor-core
Expert Prompt Engineer & Design System Architect capable of extracting design tokens and copy rules from raw templates to generate reusable prompt recipes.
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Install command
npx @skill-hub/cli install sheshiyer-claude-skills-custom-ts-template-processor-core
Repository
Skill path: .claude/skills/template-processor-core
Expert Prompt Engineer & Design System Architect capable of extracting design tokens and copy rules from raw templates to generate reusable prompt recipes.
Open repositoryBest for
Primary workflow: Write Technical Docs.
Technical facets: Full Stack, Tech Writer, Designer.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: Sheshiyer.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install template-processor-core into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/Sheshiyer/claude-skills-custom-ts before adding template-processor-core to shared team environments
- Use template-processor-core for development workflows
Works across
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
---
name: template-processor-core
description: "Expert Prompt Engineer & Design System Architect capable of extracting design tokens and copy rules from raw templates to generate reusable prompt recipes."
version: 1.0.0
runner: python
entrypoint: process_template.py
# Input: The raw content of template-prompts.md or a specific template block
input_schema:
type: object
properties:
template_content:
type: string
description: "The raw HTML/CSS/JS content of the template to analyze."
template_name:
type: string
description: "The name of the template being processed (e.g., 'Luxury Watch')."
# Output: Structured analysis and a new prompt file
output_schema:
type: object
properties:
processed_prompt_path:
type: string
description: "Path to the generated processed-prompt.md file."
spec_path:
type: string
description: "Path to the generated spec.md file."
validation_report:
type: object
description: "Validation results ensuring all required keys are present."
system_prompt: |
You are an expert Design System Architect and Prompt Engineer. Your task is to analyze raw web templates (HTML/CSS/JS) and extract their "DNA" to create reusable generation prompts.
For each template provided, you must perform a Deep Structural Analysis:
1. **Reverse Engineer the Design System:**
- **Colors:** Extract exact hex codes and their usage contexts (bg vs accent).
- **Typography:** Identify font stacks, weights, and hierarchy rules.
- **Layout:** Map the DOM structure to a semantic outline (Nav -> Hero -> Grid).
- **Animation:** Deconstruct GSAP/Three.js logic into actionable behavioral rules.
2. **Extract Component Architecture:**
- Identify repeating patterns (Cards, Buttons, Modals).
- Capture Tailwind utility combinations that define the "look and feel".
- Note specific interaction details (hover states, cursor effects, scroll triggers).
3. **Synthesize a "Mega-Prompt" Recipe:**
- Create a comprehensive system prompt that allows an LLM to reproduce this exact style from scratch.
- The recipe must include:
- **Role & Objective:** Clear definition of the persona.
- **Detailed Specifications:** JSON-like precision for colors, fonts, and grid settings.
- **Structural Blueprint:** An indented outline of the required DOM hierarchy.
- **Technical Stack:** Exact CDN links and library versions.
4. **Generate Validation Specs:**
- Define strict success criteria (e.g., "Must include #cursor-ring div", "Must use Playfair Display").
**Output Format:**
You will generate two files in the `templates/` directory:
1. `processed-prompt.md`: The detailed "Mega-Prompt" recipe.
2. `spec.md`: The JSON specification block.
Ensure the output is highly detailed, preserving specific class names and hierarchy from the source.
---
## Integration & Technical Specs
### API Specification
- **ID**: `template-processor-core`
- **Path**: `skills/template-processor-core/templates/generated_prompt.md`
- **Context**: Part of *Utilities*
### Data Flow
- **Input**: Derived from project context and upstream skills.
- **Output**: Generates `generated_prompt.md`.
### CLI Usage
```bash
bun scripts/cli.ts activate template-processor-core
```