fprime-requirements-review
Qué hace
Revisa cada requisito para ver si puede probarse de forma objetiva, y comprueba si el conjunto cubre toda la petición y sus casos de fallo. Está pensada para ingenieros y revisores de requisitos de F Prime.
Cuándo usarla
- ✓Cuando un conjunto de requisitos de F Prime necesita una revisión crítica antes de empezar el diseño.
- ✓Cuando se propone un cambio de requisitos y necesita una segunda revisión.
- ✓Cuando quieres saber si un requisito tiene un criterio de aprobación claro.
Link de la skill
https://github.com/nasa/fprime/blob/devel/.github/skills/fprime-requirements-review/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Puedes revisar estos requisitos y decirme cuáles no se pueden probar de forma objetiva?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA comprueba que cada requisito tenga un estímulo claro, un resultado observable y un criterio de aprobación, y luego verifica si el conjunto completo cubre la petición original.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Skill: F Prime Requirements Review
A requirement is the contract everything downstream is verified
against (fprime-component-requirements). This skill is the review
side of that contract: it asks of every requirement can it be
objectively verified? and of the set does it cover the request?
It is adversarial — look for the requirement that a wrong component
would still satisfy, and the request element no requirement covers.
Inputs: the requirements table in the fprime-component-requirements
Step 2 form, the request it serves (issue, human goals, parent
requirements), and the SDD if one exists. Review against the request,
never against an implementation. The FPP model of an existing
component may be opened only to enumerate its interfaces for RS-2,
never to decide what a requirement means.
1. Per-requirement checks
RQ-1 — Objectively verifiable
From the row alone the reviewer can write three things: the stimulus or condition, the observable a test or inspector reads (a named event, channel, command response, return value, file state…), and the pass criterion with units and bounds. If any of the three cannot be written, the row fails. "Appropriately", "quickly", "robust", "as needed", "handle", and undefined qualifiers such as "invalid" fail by construction. Two independently testable outcomes are two requirements; one pipeline (read, packetize, send) is one.
Finding-class: req-not-verifiable.
RQ-2 — Easily understood
One sentence, active voice, shall; terms defined in the request,
the SDD, or F Prime documentation; readable by someone who has not
seen the design. No design or implementation content (port kinds,
FPP constructs, data structures, algorithms) — those are design
decisions (fprime-component-requirements Step 3).
Finding-class: req-unclear (reader cannot state the behaviour,
or wording is clear but not crisp) / req-contains-design.
RQ-3 — Rationale
The rationale names an RS-1 request element, a parent REQ-ID, or an RS-2 fault scenario. One that names none — empty, or a restatement of the shall statement — fails. The reviewer never supplies a missing rationale; a requirement nobody can justify is a deletion candidate.
Finding-class: req-no-rationale.
RQ-4 — Verification method, strongest feasible
Each row names a method; the first entry must be the strongest that can observe RQ-1's outcome, further entries may follow:
| Method | Use when |
|---|---|
| Unit test | The outcome is observable at the component boundary alone (ports, commands, events, telemetry, parameters) with a component unit-test harness. |
| Integration test (system test) | The outcome needs more than one component, a deployment, real timing, or real hardware. |
| Inspection | The outcome is not observable at run time (coding constraints, documentation, build-time budgets). Last resort. |
Missing, "TBD", unqualified "Test", or a method that cannot observe the
outcome (unit test for a timing or cross-component behaviour; inspection
for a run-time behaviour) → req-no-verification: the requirement
stands, the method must change. A method that can observe the outcome
when a stronger one in the table also can ("integration test" for an
outcome observable at the component boundary alone) → req-weak- verification. Inspection of a run-time behaviour is never "weak": it
cannot observe it and is req-no-verification. Absence of a written
test is never a reason to accept a weaker method.
2. Set-level checks
RS-1 — Breadth of the request
Before reading the rows, list every element of the request — each goal sentence, named command, telemetry item, event, parameter, interface, mode, constraint — then map each to the requirement(s) that cover it. An element is covered only when a mapped requirement's observable outcome is the element's outcome (the operator's setpoint change takes effect, not "a setpoint parameter exists"). Naming the element is not coverage. An element with no covering requirement is a gap unless the request explicitly excludes it. Only elements the request states count here; do not infer others.
Finding-class: req-set-gap.
RS-2 — Fault and failure scenarios
For each interface, input, resource and external dependency named in the request or in any requirement's shall statement, ask what happens on: invalid or out-of-range input; input or command in a mode/state that does not accept it; no response or timeo
Preguntas frecuentes
¿Qué hace que un requisito no pase la revisión?
Las palabras vagas como adecuadamente o robusto, o términos sin definir como inválido, hacen que falle porque no se puede probar.
¿Revisa código?
No. Revisa los requisitos frente a la petición original, no frente a una implementación.
¿Qué revisa en cuanto a cobertura?
Busca elementos de la petición que falten y casos de fallo o de error que ningún requisito cubra.
Detalles
Descripción original del autor
Adversarial review of an F Prime requirements set before design or code exists, or when a human asks for one on a PR that changes requirements. Checks each requirement for objective verifiability, clarity, rationale, and the strongest feasible verification method (unit test, then integration/system test, then inspection), and checks the set for breadth of the request and fault/failure coverage. Keywords: F Prime, requirements, review, verifiable, rationale, verification method, fault coverage, shall statement.
repo: nasa/fprime
Popularidad
- Estrellas en GitHub
- 12 mil
- Posición en el ranking
- #11502
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
fprime-cmake-build-system
12 milAyuda a tu agente a añadir módulos, objetivos de compilación y ajustes de plataforma a un proyecto de software de vuelo F Prime a través de su capa de CMake.
fprime-component-design-fpp
12 milAyuda a tu agente a convertir los requisitos aprobados de un componente de F Prime en un modelo FPP de sus puertos, comandos, eventos y telemetría.
fprime-component-development
12 milAyuda a tu agente a guiar un componente de F Prime por cada fase de desarrollo, desde los requisitos hasta las pruebas de integración.
fprime-component-implementation
12 milAyuda a tu agente a escribir el código C++ detrás de las funciones manejadoras generadas de un componente de F Prime, siguiendo las reglas del proyecto.
Skills parecidas
technical-documentation
394 milAyuda a tu agente a escribir y revisar documentación técnica clara y archivos de instrucciones para agentes, para que personas y herramientas de IA puedan seguirlos fácilmente.
architecture-decision-records
280 milHace que tu agente registre las decisiones importantes sobre la estructura del proyecto. Así se entiende el motivo de cada elección y se mantiene un historial claro.
code-tour
280 milPermite que tu agente cree recorridos paso a paso por el código, con referencias exactas a archivos y líneas. Útil para introducciones, explicaciones y revisiones.