manifold-m4-generate

Generate code, tests, docs, runbooks, and alerts from a constraint manifold.

8|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/dhanesh/manifold --skill manifold-m4-generate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: manifold-m4-generate
Source: https://github.com/dhanesh/manifold/tree/main/install/agents/codex/skills/manifold-m4-generate
Command: npx skills add https://github.com/dhanesh/manifold --skill manifold-m4-generate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating code, tests, documentation, runbooks, and alerts from a constraint manifold is error-prone and time-consuming when done ad hoc. This Skill automates the end-to-end artifact creation from a single source of truth, ensuring traceability to constraints.

Core Features & Use Cases

  • Single-source artifact generation from the constraint manifold for software features and PM workflows.
  • PM outputs: PRD, user stories, docs, runbooks, dashboards, and alerts generated consistently from constraints.
  • Parallel generation and deterministic artifact placement with constraint traceability.
  • Explicit invocation flow with phase transitions and post-generation validation.

Quick Start

Invoke /m4-generate <feature-name> to generate all artifacts from the constraint manifold.

Frequently Asked Questions about manifold-m4-generate

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

FAQPage Schema
How do I generate PRDs and user stories from a single source of truth?

Generate PRDs and user stories from a constraint manifold by invoking the generation command with PM-specific flags, ensuring all artifacts maintain traceability to the original constraints.

What is a constraint manifold and how does it help generate software artifacts?

A constraint manifold acts as a single source of truth for software features, enabling parallel generation of code, tests, docs, runbooks, and alerts with built-in traceability to the originating constraints.

Can I generate runbooks and alerts alongside documentation for PM-driven feature work?

Yes, you can generate runbooks, alerts, and documentation simultaneously alongside PRDs and user stories from the constraint manifold, ensuring all operational artifacts are created consistently.

How do I start generating artifacts from constraints using this approach?

Invoke the generation command with your desired feature name to trigger explicit phase transitions, output artifacts to standardized directories, and run post-generation validation workflows.

Does this artifact generation method support post-generation validation?

Yes, the method enforces a post-generation validation workflow that verifies artifact placement and ensures all generated outputs maintain explicit traceability to the source constraints.

What's the best way to ensure traceability when generating multiple software artifacts?

The best way to ensure traceability is generating all artifacts from a single constraint manifold source, which automatically embeds constraint traces into every output during the deterministic generation process.