fprime-component-requirements
Qué hace
Ayuda a la IA a hacer las preguntas correctas y a redactar una lista de requisitos para un componente de software de vuelo, que revisas antes de empezar el diseño. Está pensada para ingenieros que definen nuevos componentes.
Cuándo usarla
- ✓Cuando empiezas un nuevo componente de F Prime y necesitas dejar por escrito sus requisitos.
- ✓Cuando quieres definir los comandos, la telemetría, los eventos y los parámetros de un componente.
- ✓Cuando el siguiente paso es el diseño y los requisitos deben confirmarse primero.
Link de la skill
https://github.com/nasa/fprime/blob/devel/.github/skills/fprime-component-requirements/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
“Ayúdame a escribir los requisitos de un nuevo componente de F Prime que lee un sensor de temperatura.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA pregunta por la finalidad del componente, con qué otros componentes se comunica y qué comandos necesita, y luego redacta requisitos para que los revises y confirmes.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Skill: F Prime Component Requirements
Requirements define what the component must do — its behaviors, interfaces, and constraints. This phase produces a written requirements list that drives all subsequent design and testing.
For context on the overall development process and where requirements fit, see the F´ Development Process. For guidance on work types and component kinds, see Selecting Component, Port, and Command Kinds.
STOP — Ask the User
You may draft requirements based on user input, but you cannot do requirements in isolation from the user. Draft requirements must stem from user-provided context and must be reviewed with the user before proceeding into development.
If any of the following are unclear, ask before proceeding:
- What is the component's purpose / role in the system?
- What other components does it interact with (upstream / downstream)?
- What commands should the ground operator be able to send?
- What telemetry should the component report?
- What events (logs) should it emit and at what severity?
- What parameters should be configurable at runtime?
- Is this work event-driven, deadline-driven, or background? (See
docs/user-manual/framework/component-and-port-selection.mdfor an explanation of the types of work.) - Are there any critical deadlines for this work?
- Are there fault-handling or off-nominal requirements?
- What existing F Prime components (Svc/, Drv/) can be built on top of?
Step-by-Step Process
Step 1 — Gather Context
Ask the user for:
- Component name and module: Where does this live in the project
tree? (e.g.,
MyProject/Components/ThermalController) - Work type: Event-driven, deadline-driven (cyclic), or
background? This determines the component kind (active, passive, or
queued). See
docs/user-manual/framework/component-and-port-selection.md. - High-level purpose: One-paragraph description of what this component does.
Step 2 — Define Behavioral Requirements
Requirements are written as "shall" statements; each must be something that can be verified (a pass/fail observable). Goals that are not pass/fail ("should") go in the SDD narrative, not the table.
Requirements are typically shipped as a table:
| ID | Shall Statement | Rationale | Verification Method |
|---|---|---|---|
| REQ-<Component>-001 | The component shall <behavior>. | <Why: request element, parent requirement, or fault scenario> | <Unit test / integration test / inspection — strongest feasible, in that order> |
| REQ-<Component>-002 | ... | ... | ... |
Categories to cover:
| Category | Ask the user |
|---|---|
| Nominal behavior | What does it do on each cycle / invocation? |
| Commands | What operator commands does it accept? What are the args? |
| Telemetry | What values does it periodically report? |
| Events | What noteworthy occurrences does it log? Severity? |
| Parameters | What runtime-configurable values does it store? |
| Error handling | How does it respond to invalid inputs or faults? |
| State management | Does it have modes or states? Transitions? |
Step 3 — Define Interface Requirements
For each external connection, define what data the component exchanges — not port types (those are a design decision, not a requirement):
- Inputs: What data/invocations does the component receive? From whom?
- Outputs: What data does the component send out? To whom?
- Data types: What are the arguments/payloads crossing each interface?
Port types (sync/async/guarded) and FPP port definitions are determined during the Design phase based on the work type and timing constraints established here.
Step 4 — Confirm with User
Present the full requirements table to the user and wait for confirmation before proceeding to design. Requirements are the contract — everything downstream is verified against them.
Output Artifact
A requirements document (typically captured in the component's
docs/sdd.md or as a structured list in the PR description) with:
- Component name, module, and work type
- Requirements table (ID, shall statement, rationale, verification method)
- Interface summary (data exchanged, not port types)
- Any constraints
Preguntas frecuentes
¿Puede la IA escribir los requisitos por sí sola?
No. La skill indica que los borradores deben partir de tu información y revisarse contigo antes del desarrollo.
¿Qué preguntas hace?
Pregunta por el papel del componente, con qué se conecta, qué comandos y telemetría necesita y si su trabajo está guiado por eventos o es de fondo.
¿Cubre eventos y parámetros?
Sí. Pregunta qué eventos, niveles de severidad y parámetros de ejecución debe tener el componente.
Detalles
Descripción original del autor
Requirements phase of F Prime component development. Guides the agent through eliciting, documenting, and confirming component requirements before any design or code is written. Trigger when starting a new component or when the user says to define requirements. Keywords: F Prime, requirements, SDD, behavior, interface, specification.
repo: nasa/fprime
Popularidad
- Estrellas en GitHub
- 12 mil
- Posición en el ranking
- #11498
- 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.