fprime-component-requirements
하는 일
비행 소프트웨어 컴포넌트에 대한 올바른 질문을 던지고 요구사항 목록 초안을 작성하도록 AI를 돕습니다. 설계가 시작되기 전에 사용자가 검토합니다. 새 컴포넌트를 정의하는 엔지니어를 위한 스킬입니다.
사용하는 경우
- ✓새 F Prime 컴포넌트를 시작하고 요구사항을 기록해야 할 때.
- ✓컴포넌트의 명령, 텔레메트리, 이벤트, 매개변수를 정의하고 싶을 때.
- ✓다음 단계가 설계와 개발이라 요구사항을 먼저 확정해야 할 때.
스킬 링크
https://github.com/nasa/fprime/blob/devel/.github/skills/fprime-component-requirements/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“온도 센서를 읽는 새 F Prime 컴포넌트의 요구사항을 작성하도록 도와주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 컴포넌트의 목적, 연결 대상, 필요한 명령과 텔레메트리에 대해 묻고, 사용자가 검토하고 확정할 요구사항 초안을 작성합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
AI 혼자 요구사항을 쓸 수 있나요?
아닙니다. 스킬은 초안이 사용자의 입력에서 나와야 하며, 개발 전에 사용자와 함께 검토해야 한다고 설명합니다.
어떤 질문을 하나요?
컴포넌트의 역할, 연결 대상, 필요한 명령과 텔레메트리, 작업이 이벤트 기반인지 백그라운드 작업인지 묻습니다.
이벤트와 매개변수도 다루나요?
네. 컴포넌트가 가져야 할 이벤트, 심각도 수준, 실행 시 매개변수를 묻습니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 12k
- 순위
- #11498
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
fprime-cmake-build-system
12k에이전트가 F Prime 비행 소프트웨어 프로젝트의 CMake 계층을 통해 모듈, 빌드 타깃, 플랫폼 설정을 추가하도록 돕습니다.
fprime-component-design-fpp
12k에이전트가 승인된 F Prime 컴포넌트 요구사항을 포트, 명령, 이벤트, 텔레메트리의 FPP 모델로 바꾸도록 돕습니다.
fprime-component-development
12k에이전트가 요구사항에서 통합 테스트까지, F Prime 컴포넌트를 각 개발 단계마다 안내하도록 돕습니다.
fprime-component-implementation
12k에이전트가 F Prime 컴포넌트의 자동 생성된 핸들러 함수에 들어갈 C++ 코드를 프로젝트 규칙에 맞춰 작성하도록 돕습니다.
비슷한 스킬
technical-documentation
394k에이전트가 명확한 기술 문서와 에이전트 지침 파일을 작성하고 검토하도록 도와, 사람과 AI 도구가 쉽게 따를 수 있게 합니다.
architecture-decision-records
280k에이전트가 프로젝트 구조에 관한 중요한 결정을 기록하도록 합니다. 선택의 이유를 이해하고 변경 이력을 명확히 유지하는 데 도움이 됩니다.
code-tour
280k에이전트가 정확한 파일과 줄 번호를 참조하는 단계별 코드 안내를 만들도록 합니다. 소개, 설명, 리뷰에 유용합니다.