pencil-before-index-workflow

Enforce spec.md, Pencil, and index.tsx sequencing for prototypes and components.

152|32|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/lintendo/Axhub-Make --skill pencil-before-index-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pencil-before-index-workflow
Source: https://github.com/lintendo/Axhub-Make/tree/main/skills/pencil-before-index-workflow
Command: npx skills add https://github.com/lintendo/Axhub-Make --skill pencil-before-index-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enforces a sequencing rule for new or refactored prototypes and components: perform spec first, then Pencil, then index.tsx, to ensure design and implementation stay aligned.

Core Features & Use Cases

  • Enforces a three-step workflow: generate or update spec.md, create Pencil artifacts, and finally output index.tsx.
  • Applies when adding or rewriting prototypes in src/prototypes or components in src/components, particularly when design-led work or reference pages are required.
  • Provides guardrails and validation to prevent proceeding if prerequisites are missing or misaligned.

Quick Start

Create or update a prototype or component by first ensuring spec.md exists, then generating the Pencil, and finally producing index.tsx.

Frequently Asked Questions about pencil-before-index-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce a spec-first design workflow for prototypes?

To align prototype design and implementation, enforce a spec-first workflow by sequencing spec.md generation, Pencil artifact creation, and index.tsx output. This prevents misalignment between design specs and code.

What is the correct sequence for creating design-led components?

The correct sequence for creating design-led components is spec first, then Pencil, then index.tsx. You must generate or update spec.md, create Pencil artifacts based on that spec, and validate alignment before finally outputting the index.tsx file.

How do I start building a new prototype in src/prototypes?

To start building a new prototype in src/prototypes, first ensure a spec.md file exists. Then generate the Pencil file based on that spec, and finally produce the index.tsx code after validating alignment between the spec and Pencil artifacts.

Do I need an existing spec.md before generating Pencil files?

Yes, you need an existing spec.md before generating Pencil files. The workflow requires spec.md as a prerequisite, provides guardrails to prevent proceeding if it is missing, and validates alignment before outputting index.tsx.

What happens if dependencies are missing when refactoring components?

When dependencies are missing during component refactoring, the workflow provides safeguards to prevent proceeding. It validates alignment and checks for missing prerequisites, stopping the generation of Pencil artifacts or index.tsx output to avoid errors.