Logotipo de Write Prd

Write Prd

Comunidad
kdy1
write-prd

Product requirements decision capture and GitHub issue creation. Use only when a human explicitly invokes `$write-prd`; never select this skill automatically from feature, planning, PRD, or issue-creation task similarity. When explicitly invoked, define or finalize a PRD, turn a feature idea into a decision-complete GitHub issue, and resolve applicable product, technical, operational, rollout, observability, support, documentation, and testing decisions.

Descripción general

Editorkdy1
Repositoriokdy1-scripts
Nombre de la habilidadwrite-prd
Estrellas
33
Forks
0
Archivos incluidos
3
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.

  • 3 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 kdy1 en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Write 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/kdy1/kdy1-scripts/tree/main/skills/write-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/kdy1/kdy1-scripts.git /tmp/kdy1-scripts
mkdir -p .claude/skills
cp -r /tmp/kdy1-scripts/skills/write-prd .claude/skills/write-prd
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Write 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 Write 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 Write 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á.

Write PRD

Goal

Turn a feature request into a complete PRD-backed GitHub issue. Do not invent material defaults. Every applicable functional and operational decision must be answered by the user, explicitly marked not applicable by the user, or directly determined by an authoritative repository contract before creating the issue.

Required References

Read these files before asking PRD questions or writing the issue:

  • references/question-ledger.md for the required decision ledger.
  • references/issue-template.md for the fallback GitHub issue shape.

Operating Rules

  • Follow all active system, developer, repository, and scoped instructions.
  • Read the target repository's authoritative docs, contracts, contribution guidance, issue templates, and metadata conventions for the affected area before finalizing decisions.
  • Resolve the GitHub target from an explicit repository or issue URL, otherwise from the current Git remote. Ask the user before filing when no unique target can be established.
  • Determine whether a feature flag applies from an explicit user decision or repository contract. Allow the user to mark feature flags not applicable with a stated reason unless a repository contract requires one.
  • When a feature flag applies, require its complete contract before finalizing or filing the issue. Treat it only as a rollout control, never as a substitute for authorization, tenancy, billing, budget, resource state, or other safety enforcement.
  • Do not invent a flag key, rollout percentage, cohort, timing, or removal threshold.
  • Use gh for GitHub issue operations when possible.
  • Inspect the target repository's labels before filing. Apply PRD when that label already exists or when the repository contract or user requires it. Do not create labels. If PRD is absent and not required, file without it.
  • Follow repository-required issue metadata. Do not add unrelated labels, assignees, milestones, project fields, issue types, or other metadata without an explicit user request or repository requirement. If required metadata cannot be applied, report the conflict and do not file.
  • Ask questions in small batches. Prefer grouped, concrete questions that close decision-ledger rows.
  • Do not close a ledger row with an inferred default, common practice, or agent preference. A row closes only through an explicit user answer, explicit user-approved not applicable, or an authoritative contract that directly determines the answer.
  • If a repository contract determines a row, cite the path or command evidence in the ledger and ask the user only when product intent remains open.
  • If the user asks to skip a category, record it as explicitly out of scope or not applicable with the user's stated reason.
  • Do not create the GitHub issue while any applicable ledger row remains open.

Question Presentation

  • In every mode, including T3 Code Build mode, present decision questions with concrete choices when meaningful alternatives exist. Offer a small set of distinct options and briefly explain each option's effect or tradeoff. Allow a custom answer; use free text when the decision requires an exact name, value, or detail that choices cannot capture.
  • Use a structured question tool when it is available and permitted in the active mode. In Build or Default mode, prefer request_user_input_async when available. Use request_user_input only when the active tool instructions permit it; do not switch to Plan Mode just to ask questions.
  • If no permitted question tool is available, or the tool rejects the active mode, ask in chat with numbered questions and lettered choices. Keep custom answers possible in this fallback too.
  • Follow the selected tool's schema and batch limits. A recommendation explains a candidate choice; it does not decide the ledger row. A preselected option, missing response, or elapsed wait is not a user answer.
  • With an asynchronous question tool, continue only independent investigation while the answer is pending. Keep dependent ledger rows open and resume collection when the user replies; do not submit duplicate questions while the same request is pending.

Workflow

  1. Ground the request.

    • Identify the feature idea, affected product or domain, likely repository contracts, and issue target.
    • Read applicable docs, schemas, interfaces, existing issues, nearby code, and issue templates needed to avoid asking discoverable questions.
    • Determine feature-flag applicability and initialize a visible decision ledger using references/question-ledger.md.
  2. Collect decisions.

    • Ask only questions that materially close open ledger rows, following Question Presentation in the active mode.
    • Keep asking until every applicable row is answered, explicitly not applicable, or contract-determined.
    • After each user answer, update the ledger. If applicable rows remain open, perform any needed read-only investigation and ask the next small batch of questions in the same turn; do not wait for a separate request to continue.
    • Reconcile contradictions immediately and track evidence, open questions, and user answers separately. Partial or ambiguous answers leave the affected decisions open and require follow-up questions, not inferred defaults.
    • While applicable rows remain open, do not end with only a progress summary, draft, or final plan, ask whether to continue, or request a mode switch to continue collecting decisions. Pair progress summaries with the next questions using the available question mechanism.
    • Honor an explicit user request to pause or stop. If a real access blocker prevents progress, explain what is missing and how it can be resolved, but continue investigating and asking independent questions before ending for that blocker.
  3. Handle Plan Mode.

    • Plan Mode does not stop decision collection: continue read-only investigation and questions under step 2. Perform no GitHub write or other mutation prohibited by the active mode.
    • Prefer request_user_input when available and permitted in Plan Mode, following Question Presentation for choices and fallbacks. Waiting for a user answer is part of the collection loop; after the answer arrives, resume the loop automatically.
    • Only when every applicable ledger row is closed, return a final plan containing the exact issue title, body, target, metadata to apply, and later gh action, following the active mode's required output format.
    • When later running outside Plan Mode from a complete prior plan, create the issue without asking for another confirmation.
  4. Write the PRD issue.

    • Follow the target repository's issue style and template when present; otherwise use references/issue-template.md.
    • Include functional and operational decisions without adding unsupported choices.
    • When a feature flag applies, include its complete contract and observable default, enabled, disabled, evaluation-failure, targeting, rollback, and lifecycle behavior.
    • Keep the issue implementation-ready with concrete scope, acceptance criteria, test scenarios, and explicit out-of-scope boundaries.
  5. File the issue.

    • Outside Plan Mode, inspect available labels and required metadata, then create the issue when the ledger is complete.
    • Add --label "PRD" only when the label exists or is explicitly required. Add other metadata only when explicitly requested or required by the repository.
    • Use a temporary body file or another safe quoting approach for multiline Markdown.
    • Report the created issue URL, title, target repository, applied metadata, and any follow-up risk.

Useful Commands

bash
gh repo view --json nameWithOwner -q .nameWithOwner
gh issue list --repo "$OWNER_REPO" --search "$SEARCH_TERMS" --state open
gh label list --repo "$OWNER_REPO" --search "PRD"
gh issue create --repo "$OWNER_REPO" --title "$TITLE" --body-file "$BODY_FILE"
gh issue create --repo "$OWNER_REPO" --title "$TITLE" --body-file "$BODY_FILE" --label "PRD"

Use quoted shell variables and file paths in commands.

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 Write Prd?

Product requirements decision capture and GitHub issue creation. Use only when a human explicitly invokes `$write-prd`; never select this skill automatically from feature, planning, PRD, or issue-creation task similarity. When explicitly invoked, define or finalize a PRD, turn a feature idea into a decision-complete GitHub issue, and resolve applicable product, technical, operational, rollout, observability, support, documentation, and testing decisions.

¿Por qué usar Write Prd en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Write 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 Write Prd en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/kdy1/kdy1-scripts/tree/main/skills/write-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 Write 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 Write Prd?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Write 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 Write Prd?

kdy1 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 👇