fprime-component-development
Qué hace
Lleva a la IA por los requisitos, el diseño FPP, el código C++, las pruebas unitarias y las pruebas de integración, en ese orden. Está pensada para equipos que construyen nuevos componentes de software de vuelo.
Cuándo usarla
- ✓Cuando empiezas un nuevo componente de F Prime y quieres seguir todo el proceso.
- ✓Cuando quieres añadir una funcionalidad importante a un componente de F Prime existente.
- ✓Cuando quieres que cada fase se apruebe antes de que empiece la siguiente.
Link de la skill
https://github.com/nasa/fprime/blob/devel/.github/skills/fprime-component-development/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 guiarme en la creación de un nuevo componente de F Prime, desde los requisitos hasta las pruebas?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA ejecuta las fases en orden, hace preguntas en lugar de suponer y espera la aprobación antes de pasar a la siguiente fase.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Skill: F Prime Component Development Process
The flight development process for F Prime components follows a strict sequential lifecycle. Each phase produces artifacts that feed the next. Never skip a phase or guess at requirements/design decisions — always ask the user.
For the canonical process description, see the F´ Development Process.
Process Overview
1. Requirements → 2. Design (FPP) → 3. Implementation (C++) → 4. Unit Test → 5. Integration Test
Each phase has a dedicated skill with detailed guidance:
| Phase | Skill | Key Output |
|---|---|---|
| 1. Requirements | fprime-component-requirements |
Written requirements list |
| 2. Design | fprime-component-design-fpp |
.fpp model file |
| 3. Implementation | fprime-component-implementation |
.cpp / .hpp files |
| 4. Unit Test | fprime-component-unit-test |
test/ut/ test suite |
| 5. Integration Test | fprime-component-integration-test |
test/int/ pytest suite |
Cardinal Rules
Ask, don't guess. If you are unsure about a requirement, interface, behavior, naming convention, or deployment context — stop and ask the user. Wrong assumptions in flight software are costly.
Each phase gates the next — with explicit user approval. When an agent orchestrates this skill, the requirements and design phases first pass the review loop of
.github/agents/_shared/phase-review-loop.md; the writing skills themselves do not iterate. Present the requirements (with their review record, when the loop ran) to the user and obtain approval before starting design. Present the design (FPP model, port layout, behavior, and any configuration) to the user and obtain explicit confirmation before writing any implementation or unit-test code. This applies even to trivial or pass-through components; simplicity does not waive the gate. Once the model is confirmed, you may write tests against it following the test-driven development pattern (seedocs/how-to/test-driven-development.md).Reference the C++ design skill. All implementation must comply with
fprime-cpp-design(CPP-1 through CPP-37). Consult it before writing any C++ code.Follow Test-Driven Development when possible. The recommended F Prime workflow is: design in FPP → write tests → implement to pass tests. See the TDD guide.
Document as you go. Each component should have an SDD (
docs/sdd.md) that records requirements coverage, port descriptions, and design rationale.
When to Use This Skill
- Creating a new component from scratch
- Adding significant new functionality to an existing component (new ports, commands, telemetry, state machines)
- Migrating or refactoring a component where the interface changes
For small bug fixes or implementation-only changes that don't alter the component's interface, you may skip directly to the implementation and unit test phases — but confirm with the user first.
Quick Reference: Key Commands
| Action | Command |
|---|---|
| Create new component | fprime-util new --component |
| Create new port | fprime-util new --port |
| Generate impl stubs | fprime-util impl |
| Generate UT stubs | fprime-util impl --ut |
| Build component | fprime-util build |
| Run unit tests | fprime-util check |
| Run with coverage | fprime-util check --coverage |
| Generate UT build | fprime-util generate --ut |
| Scaffold rule-based tests | fprime-util new --rule-based-test |
Preguntas frecuentes
¿Saltará pasos para ahorrar tiempo?
No. La skill indica que nunca hay que saltarse una fase ni adivinar requisitos o decisiones de diseño.
¿Cuáles son las fases?
Son requisitos, diseño FPP, implementación en C++, pruebas unitarias y pruebas de integración.
¿Cada fase necesita aprobación?
Sí. Cada fase condiciona la siguiente con una aprobación explícita del usuario.
Detalles
Descripción original del autor
Top-level flight development process for F Prime components. Orchestrates the full lifecycle from requirements through integration testing. Trigger on any task involving creating a new F Prime component or adding significant functionality to an existing one. Keywords: F Prime, component, development, lifecycle, flight software, requirements, design, implementation, unit test, integration test.
repo: nasa/fprime
Popularidad
- Estrellas en GitHub
- 12 mil
- Posición en el ranking
- #11495
- 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-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.
fprime-component-integration-test
12 milAyuda a tu agente a escribir pruebas de integración reutilizables con pytest para un componente de F Prime que se ejecutan contra un despliegue en vivo.
Skills parecidas
api-connector-builder
280 milHace que tu agente cree nuevas conexiones de API siguiendo el patrón existente. Úsalo para añadir una integración más sin inventar otra forma de hacer las cosas.
api-design
280 milAyuda a tu agente a diseñar APIs REST según las buenas prácticas. Es útil para definir cómo se comunican las APIs, cómo se muestran los errores y cómo organizar los datos.
backend-patterns
280 milAyuda a tu agente con patrones de arquitectura del lado del servidor y optimización de bases de datos. Es útil para crear o revisar código que se ejecuta en el servidor.