--- import { getCollection } from 'astro:content'; import Base from '../../layouts/Base.astro'; import DocsSidebar from '../../components/DocsSidebar.astro'; import '../../styles/sub-pages.css'; import '../../styles/docs-kinpaku.css'; import { SKILL_CATEGORIES, CATEGORY_ORDER, CATEGORY_LABELS, } from '../../data/sub-pages-data'; const entries = await getCollection('skills'); const referenceEntries = (await getCollection('reference')) .sort((a, b) => a.data.order - b.data.order); const tutorials = (await getCollection('tutorials')) .sort((a, b) => a.data.order - b.data.order); const taglineFor = (slug: string) => entries.find(e => e.id === slug)?.data.tagline ?? ''; const grouped: Record = {}; for (const cat of CATEGORY_ORDER) { grouped[cat] = entries .filter(e => SKILL_CATEGORIES[e.id] === cat) .sort((a, b) => a.id.localeCompare(b.id)) .map(e => ({ slug: e.id, tagline: e.data.tagline })); } const session = [ { slug: 'shape', verb: 'Plan' }, { slug: 'craft', verb: 'Build' }, { slug: 'critique', verb: 'Review' }, { slug: 'polish', verb: 'Refine' }, ]; const startSteps = [ { label: 'Install', command: 'npx impeccable install', line: 'Run from the project root, then reload your agent.', }, { label: 'Set context', command: '/impeccable init', line: 'Create PRODUCT.md and DESIGN.md.', }, { label: 'Try it', command: '/impeccable polish the pricing page', line: 'Point it at a real page.', }, ]; const choices = [ { need: 'Start a project', command: '/impeccable init', href: '/docs/init', }, { need: 'Polish a page', command: '/impeccable polish', href: '/docs/polish', }, { need: 'Find design issues', command: '/impeccable critique', href: '/docs/critique', }, { need: 'Check implementation', command: '/impeccable audit', href: '/docs/audit', }, { need: 'Iterate in the browser', command: '/impeccable live', href: '/docs/live', }, { need: 'Build a new feature', command: '/impeccable craft', href: '/docs/craft', }, ]; const manualTopics = [ { topic: 'Design Context', href: '/docs/context', label: 'PRODUCT.md + DESIGN.md', }, { topic: 'Detector CLI', href: '/docs/detector', label: 'npx impeccable detect', }, { topic: 'Design hooks', href: '/docs/hooks', label: '/impeccable hooks', }, { topic: 'Config and ignores', href: '/docs/config', label: '.impeccable/config.json', }, ].filter(topic => referenceEntries.some(entry => `/docs/${entry.id}` === topic.href)); const chains: { id: string; a: string; b: string; arrow: string; line: string }[] = [ { id: 'bolder-quieter', a: 'bolder', b: 'quieter', arrow: '↔', line: 'Two halves of voice. Loud or restrained, never neutral.' }, { id: 'audit-harden', a: 'audit', b: 'harden', arrow: '→', line: 'Find the technical issues. Then fix them.' }, { id: 'critique-polish', a: 'critique', b: 'polish', arrow: '→', line: 'Review the work. Then refine it.' }, { id: 'shape-craft', a: 'shape', b: 'craft', arrow: '→', line: 'Plan the feature. Then build the plan.' }, ]; ---

Start with /impeccable

Install, add context, then run one command.

    {startSteps.map((step, i) => (
  1. {String(i + 1).padStart(2, "0")} {step.label} {step.command} {step.line}
  2. ))}

Full walkthrough: Getting started.

Choose a command

{choices.map(choice => ( {choice.need} {choice.command} ))}

Understand the system

Context files, detector checks, hooks, and config.

{manualTopics.map(topic => ( {topic.topic} {topic.label} ))}

Iterate in the browser

Pick UI, generate variants, accept one into source.

Live Mode docs

Full session path

Plan, build, review, refine.

    {session.map((step, i) => (
  1. {step.verb} /impeccable {step.slug} {taglineFor(step.slug)} {i < session.length - 1 && ( )}
  2. ))}

Already shipped? Use /impeccable polish on the page that needs work, or /impeccable audit for checks.

Useful command pairs

Use these when one pass is not enough.

{chains.map(chain => ( ))}

Full command reference

{CATEGORY_ORDER.map(cat => (

{CATEGORY_LABELS[cat]} {grouped[cat].length}

))}