Logotipo de Hai Prd

Hai Prd

Comunidad
hylarucoder
hai-prd

Decides whether a PRD is needed, drafts one from a product problem, repairs an existing PRD, or judges its split/merge boundary. Use for PRDs, product requirements, requirement specs, scope, user-visible behavior, and acceptance criteria(写 PRD、需求文档、PRD 拆分或打磨). Use hai-goal for execution phases, hai-architecture for technical design, entity-model-auditor for field placement, and document-audit skills when the task is consistency diagnosis rather than product shaping.

Descripción general

Editorhylarucoder
Repositoriohai-stack
Nombre de la habilidadhai-prd
Estrellas
284
Forks
15
Archivos incluidos
5
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 5 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por hylarucoder en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Hai Prd en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/hylarucoder/hai-stack/tree/main/skills/hai-prd
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hylarucoder/hai-stack.git /tmp/hai-stack
mkdir -p .claude/skills
cp -r /tmp/hai-stack/skills/hai-prd .claude/skills/hai-prd
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Hai Prd en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Hai Prd automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Hai Prd no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Hai PRD

For Chinese readers, see SKILL.zh_CN.md. The English SKILL.md is the execution source of truth.

Overview

Handle all PRD-related work: deciding whether a PRD is even needed, choosing PRD granularity, splitting or merging PRDs, drafting a PRD from a product problem, and refining an existing one.

The non-obvious framing: a PRD is not the default artifact. Not every idea, field, API, configuration change, or technical decision earns one. Pick the mode that fits the request and do not wrap work in a PRD when there is no product boundary or acceptance to prove.

Core Principle

A PRD is a product argument with verifiable acceptance — not a feature list. Three rules carry the rest:

  • Acceptance must be provable. One PRD should resolve one clear outcome, one main user journey or product boundary, and acceptance criteria that prove it shipped.
  • Boundary follows the user's mental model, not the tech. Granularity tracks user journeys and independent acceptance — not technical layers, teams, or files.
  • Fix the boundary before the wording. If the PRD boundary is wrong, split, merge, or reframe it before polishing local sentences; edit an existing PRD as a system where goal, scope, behavior, acceptance, risks, and rollout must agree.

Modes

1. Need PRD

First decide the artifact type — a PRD is one option among several:

SituationBetter artifact
User or business behavior changes and goal, scope, and acceptance need alignmentPRD
Execution goal, phases, and verification are the main needhai-goal
Architecture, module boundaries, or technical tradeoffs are the main needhai-architecture
The main question is whether the idea is worth doing at allhai-idea
The work is a code task, bugfix, or test-first implementationhai-tdd or task note
The work is documentation consistency auditinghai-audit-docs

Ask:

  • Is there a user-, buyer-, operator-, maintainer-, or business-visible behavior change?
  • Does the work need explicit in-scope and out-of-scope boundaries?
  • Does it need acceptance criteria to prove it was done correctly?
  • Are there product-level options, risks, constraints, or rollout concerns to record?
  • Would the team disagree on goal, scope, or acceptance without a PRD?

If most answers are no, do not force a PRD. When auditing a set of PRDs, also check for duplicate boundaries, circular dependencies, or broken user journeys across them.

2. Design PRD

Turn a feature idea or product problem into PRD-level requirements:

  1. Gather context. Target user, product surface, current behavior, desired outcome, constraints, assumptions; plus existing PRDs, docs, screenshots, user flows, issues, data, or adjacent specs.
  2. Frame the requirement. Write the problem in product language; define the target outcome and non-goals; identify the user journey or workflow boundary; separate facts, assumptions, and open questions.
  3. Shape scope. Decide what belongs in this PRD versus another PRD, design doc, goal, or task. Do not bundle unrelated cleanup, platform work, or refactors unless they directly affect product behavior or acceptance.
  4. Define behavior and acceptance. Describe expected behavior by scenario; add observable acceptance criteria; include edge cases, failure states, permissions, empty states, data dependencies, and rollout only when relevant.

3. Craft PRD

Refine an existing PRD as a whole product argument:

  1. Read the full document first. Identify title, target user, goal, journey, scope, non-goals, acceptance, risks, and open questions; mark contradictions, duplication, stale sections, local patches, and unreasonable content.
  2. Diagnose document drift using this taxonomy:
    • Goal drift: sections optimize for different outcomes.
    • Scope drift: requirements pull in unrelated work.
    • Conflict drift: behavior, state, permissions, data, or rollout disagree across sections.
    • Acceptance drift: acceptance criteria cannot prove the target outcome.
    • Solution drift: implementation choices replace product requirements.
    • Local-edit drift: one section improves while the whole PRD becomes worse.
  3. Reframe before rewriting. State the corrected target outcome and the PRD boundary; decide whether to preserve, reorganize, split, merge, or rewrite.
  4. Craft the document. Edit directly when the user provides a file; preserve useful content but move it to the right section; remove unsupported, duplicated, obsolete, or out-of-scope content; explain why removal beats rewriting or moving when content is deleted.

4. Scope PRD

Judge PRD granularity by user mental model and independent acceptance, not technical modules or teams. Run the six tests — this is the decision core:

TestQuestionSignal
Press ReleaseCan one sentence express one clear user value?Multiple unrelated values lean split
Independent ValueDoes this PRD deliver value on its own?Independent value can split; no value leans merge
Independent AcceptanceCan it be accepted independently?Independent acceptance can split
Domain LanguageDoes it share the same core entity, terminology, and lifecycle?Same entity leans merge; different contexts lean split
User JourneyDoes splitting break the user journey?Broken journey means do not split
Time AppetiteIs the scope controlled?Too large should split or cut; too small should merge

When the tests point toward split or merge, read references/scope-tiers.md to pick a concrete cut: the preferred split dimensions, the splits to avoid (technical layer / CRUD / team ownership, because no such fragment is independently acceptable), the three-tier classification (entity lifecycle / aggregate view / platform extension), and the new-feature decision flow.

Workflow

  1. Pick the mode from the request: necessity check → Need PRD; draft from a problem → Design PRD; refine an existing doc → Craft PRD; split/merge/granularity → Scope PRD. A request may span modes (e.g. necessity then scope).
  2. Run that mode's procedure above. Apply the Core Principle throughout — fix the boundary before the wording.
  3. For split/merge questions, run the six tests, then consult references/scope-tiers.md for the concrete cut and classification.
  4. Produce the output for the active mode (see below). When a worked run helps, read references/worked-example.md for an end-to-end split decision and an end-to-end craft/diagnosis.

Output

Read references/output-template.md and fill only the active mode's sections. Do not mechanically emit every mode or duplicate the template here. A necessity check can be brief; a draft or repair must carry enough product behavior and acceptance detail to stand alone.

Use a different skill when

Routing away from a PRD is the Need-PRD decision itself — see the table in Mode 1. In short: settle execution phases/todos in hai-goal, module boundaries and tradeoffs in hai-architecture, whether the idea is worth doing in hai-idea, a code/bugfix/test-first task in hai-tdd, what fields an entity should have and where they live in entity-model-auditor, documentation consistency in the doc-audit skills, and an anchor-first rewrite of a drifted non-PRD document in hai-rewrite-doc. Return to PRD work only when a product boundary and provable acceptance actually need to exist.

What this skill is NOT

  • Not project management — do not assign owners or dates unless asked.
  • Not a wrapper that turns every idea into a PRD — if there is no product boundary or acceptance need, recommend the right artifact from the Need-PRD table instead of forcing a PRD.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Hai Prd?

Decides whether a PRD is needed, drafts one from a product problem, repairs an existing PRD, or judges its split/merge boundary. Use for PRDs, product requirements, requirement specs, scope, user-visible behavior, and acceptance criteria(写 PRD、需求文档、PRD 拆分或打磨). Use hai-goal for execution phases, hai-architecture for technical design, entity-model-auditor for field placement, and document-audit skills when the task is consistency diagnosis rather than product shaping.

¿Por qué usar Hai Prd en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Hai Prd está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Hai Prd en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/hylarucoder/hai-stack/tree/main/skills/hai-prd. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Hai Prd?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Hai Prd?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Hai Prd con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Hai Prd?

hylarucoder la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇