fprime-component-requirements
What it does
It helps the AI ask the right questions and draft a requirements list for a flight software component, which you review before design starts. It is for engineers defining new components.
When to use it
- ✓When you start a new F Prime component and need its requirements written down.
- ✓When you want to define a component's commands, telemetry, events and parameters.
- ✓When the next step is design and the requirements must be confirmed first.
Skill link
https://github.com/nasa/fprime/blob/devel/.github/skills/fprime-component-requirements/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Help me write requirements for a new F Prime component that reads a temperature sensor.”
5 new skills a week. 1 minute to read.
How it works
The AI asks about the component's purpose, the components it talks to and its commands, then drafts requirements for you to review and confirm.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Can the AI write requirements alone?
No. The skill says drafts must come from your input and be reviewed with you before development.
What questions does it ask?
It asks about the component's role, what it connects to, which commands and telemetry it needs and whether its work is event-driven or background.
Does it cover events and parameters?
Yes, it asks which events, severity levels and runtime parameters the component should have.
Details
Original description by the author
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
Popularity
- GitHub stars
- 12k
- Ranking position
- #11498
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
fprime-cmake-build-system
12kHelps your agent add modules, build targets and platform settings to an F Prime flight software project through its CMake layer.
fprime-component-design-fpp
12kHelps your agent turn approved F Prime component requirements into an FPP model of its ports, commands, events and telemetry.
fprime-component-development
12kHelps your agent guide an F Prime component through each development phase, from requirements to integration testing.
fprime-component-implementation
12kHelps your agent write the C++ code behind an F Prime component's generated handler functions, following the project's rules.
Similar skills
technical-documentation
394kHelps your agent write and review clear technical docs and agent instruction files, so people and AI tools can follow them easily.
architecture-decision-records
280kHas your agent record important project structure decisions. It helps to understand the reasoning behind choices and maintain a clear history of changes.
code-tour
280kLets your agent create step-by-step code walkthroughs with exact file and line references. Useful for intros, explanations, and reviews.