live-spec

Generate and synchronize live-spec.ts files beside project pages.

1|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/wandouni/live-spec-skill --skill live-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: live-spec
Source: https://github.com/wandouni/live-spec-skill/tree/main/live-spec
Command: npx skills add https://github.com/wandouni/live-spec-skill --skill live-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

UI and documentation drift is costly; this skill keeps interface docs in lockstep with code by generating per-page live-spec.ts and mounting a LiveSpec floating widget during development.

Core Features & Use Cases

  • Automatic per-page live-spec.ts generation and updates when pages change
  • Floating LiveSpec widget for on-page viewing of current page requirements
  • Versioning and history via live-spec.history.ts with /live-spec tag and export options
  • All-project aggregation via live-spec.all.ts for PRD/export

Quick Start

Ask to generate or update a page's requirements, or issue /live-spec commands to manage pages.

Frequently Asked Questions about live-spec

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

FAQPage Schema
How do I keep UI documentation and page requirements in sync with code changes?

Keeping UI documentation in sync with code changes requires generating per-page live-spec.ts files that automatically update when pages change. This approach reads source files to infer structure, merges user intent with code, and mounts a floating widget for on-page viewing.

How does automated page-level requirements generation work for frontend components?

Automated page-level requirements generation works by reading source files to infer component structure and merging user intent with existing code. It writes a live-spec.ts file beside pages, exposing export and tag triggers to manage documentation during development.

What is the best way to version control and track history for page-level requirements?

The best way to version control page-level requirements is to maintain a live-spec.history.ts file. This enables tracking changes over time and provides export options triggered via specific slash commands to manage page specification versions.

Can I aggregate all per-page requirements into a single PRD for my project?

Yes, you can aggregate all per-page requirements into a single PRD by generating a project-wide live-spec.all.ts file. This consolidates individual page specifications and export options, providing a comprehensive view of the entire project's interface documentation.

Why does UI and specification documentation drift during development?

UI and specification documentation drifts during development because manually updating interface docs to match code changes is costly and error-prone. Without automated synchronization, per-page requirements quickly fall out of lockstep with the actual implementation.

When do I need a floating widget for viewing interface requirements during development?

You need a floating widget for viewing interface requirements during development when you want immediate, on-page access to current page specifications. This ensures the live-spec documentation remains visible and accessible without navigating away from the code.