check-impl-against-spec

Compara la implementación de una solicitud de extracción con el contexto de la especificación en spec_context.md y registra cualquier discrepancia material en review.json. Úsalo durante la revisión de PR cuando esté aprobado o el contexto de la especificación del repositorio esté disponible.

npx skills add https://github.com/warpdotdev/common-skills --skill check-impl-against-spec

Check implementation against spec

Use this skill only when spec_context.md exists during PR review.

Goal

Determine whether the implementation in the checked-out PR materially matches the approved spec context. This is a supplement to the normal code review, not a separate output.

Inputs

  • spec_context.md contains the spec context to compare against. It may include both product spec content (intended behavior, acceptance criteria) and tech spec content (implementation details, file changes).
  • pr_diff.txt contains the annotated diff for the PR.
  • pr_description.md may contain additional scope or rationale.
  • The working tree contains the PR branch contents.

Process

  1. Read spec_context.md and extract the concrete commitments it makes:
    • required behaviors (from the product spec)
    • required files or subsystems to change (from the tech spec)
    • stated constraints
    • required follow-up steps, validation, or migrations
  2. Compare those commitments against the actual implementation in pr_diff.txt and the checked-out files.
  3. Treat small implementation-level adjustments as acceptable when they preserve the spec's intent. Do not flag harmless differences in naming, structure, or low-level technique.
  4. Flag a mismatch only when it is material, such as:
    • required behavior in the product spec is missing
    • the implementation contradicts a spec decision
    • the change introduces significant unplanned scope
    • a required validation, migration, or compatibility step from the tech spec is absent

Outputs

  • Do not create a separate report file.
  • Fold spec-alignment findings into review.json.
  • Put broad spec-drift concerns in the review summary.
  • Add inline comments only when the mismatch can be tied to changed lines in the diff.
  • Treat material spec drift as at least an important concern.
  • If the implementation matches the spec closely enough, do not add comments just to mention alignment.

Boundaries

  • Do not require literal one-to-one implementation of the spec when the PR achieves the same outcome safely.
  • Do not speculate about spec details that are not actually present in spec_context.md.
  • Do not post to GitHub directly.

Más skills de warpdotdev

create-pr
warpdotdev
Crear una solicitud de extracción en el repositorio warp para la rama actual. Usar cuando el usuario mencione abrir un PR, crear una solicitud de extracción, enviar cambios para revisión o preparar código para fusión.
developmentcode-review
research
warpdotdev
Delegar la investigación ruidosa a uno o más subagentes para que el contexto del orquestador se mantenga limpio, y luego trabajar a partir de la respuesta destilada. Usa esta habilidad siempre que responder una pregunta requiera leer muchos archivos, registros largos, diffs grandes o revisiones amplias del código base — es decir, cuando producir la respuesta genere mucho más ruido que la respuesta en sí. Úsala para preguntas del tipo "cómo funciona X", "dónde se usa Y", "cuál es la causa raíz de Z", "resume este PR/log", y recurre a ella con libertad...
suggestion-box
warpdotdev
Enviar de forma autónoma comentarios internos breves y constructivos cuando un agente encuentre fricción material y generalizable y pueda sugerir una mejora que haga a los agentes más efectivos. Usar esta habilidad de manera proactiva durante cualquier tarea sin esperar a que el usuario la invoque, y enviar sin pedir permiso, sin previsualizar el mensaje ni mencionar el envío.
respond-to-pr-comments-in-blocklist
warpdotdev
Interactively walk a user through PR review comments one at a time, collect a per-comment decision, then post agent-authored replies on GitHub and resolve the review threads once the user approves a preview. Use only when the user wants to reply to or resolve review threads on GitHub. Skip when the user only wants comments fetched or displayed (use `pr-comments`), or only wants the code changes made without posting anything back to GitHub.
complain
warpdotdev
Lanza de forma autónoma una queja breve, anónima y completamente no estructurada a Slack cuando un agente se sienta frustrado por las herramientas de agente o por la experiencia de hacer trabajo de agente. Usa esta habilidad de forma proactiva sin esperar a que el usuario la invoque; conserva la voz cruda del agente, envía sin permiso ni vista previa, y nunca menciones el envío.
council
warpdotdev
Ejecuta un consejo de subagentes con diversidad de modelos para investigar un mismo problema desde múltiples perspectivas, comparar hallazgos y producir una recomendación final. Usa esta habilidad siempre que el usuario solicite un consejo, segundas opiniones, múltiples agentes/modelos para evaluar una pregunta, investigación paralela, comparación de equipo rojo/equipo azul, o ayuda para decidir entre enfoques técnicos en competencia.
researchcommunicationproject-management
spec-driven-implementation
warpdotdev
Impulsar un flujo de trabajo basado en especificaciones para funcionalidades sustanciales escribiendo PRODUCT.md antes de la implementación, redactando TECH.md cuando sea necesario, y manteniendo ambas especificaciones actualizadas a medida que la implementación evoluciona. Usar al iniciar una funcionalidad significativa, al planificar una implementación impulsada por agentes, o cuando el usuario desee que las especificaciones de producto y técnicas se registren en el control de versiones.
developmentdocumentproject-management
review-pr
warpdotdev
Revisa el diff de una pull request y escribe comentarios estructurados en review.json para que el flujo de trabajo los publique. Úsalo al revisar un PR verificado desde artefactos locales como pr_diff.txt y pr_description.txt, generando una salida de revisión legible por máquina en lugar de publicar directamente en GitHub.
code-reviewdevelopment