fprime-component-development
하는 일
요구사항, FPP 설계, C++ 코드, 단위 테스트, 통합 테스트를 순서대로 AI가 진행하도록 안내합니다. 새 비행 소프트웨어 컴포넌트를 만드는 팀을 위한 스킬입니다.
사용하는 경우
- ✓새 F Prime 컴포넌트를 시작하고 전체 과정을 따르고 싶을 때.
- ✓기존 F Prime 컴포넌트에 중요한 기능을 추가하고 싶을 때.
- ✓다음 단계가 시작되기 전에 각 단계를 승인받고 싶을 때.
스킬 링크
https://github.com/nasa/fprime/blob/devel/.github/skills/fprime-component-development/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 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 |
자주 묻는 질문
시간을 아끼려고 단계를 건너뛰나요?
아닙니다. 스킬은 단계를 건너뛰지 말고, 요구사항이나 설계 결정에 대해 추측하지 말라고 설명합니다.
단계는 무엇인가요?
요구사항, FPP 설계, C++ 구현, 단위 테스트, 통합 테스트입니다.
각 단계마다 승인이 필요한가요?
네. 각 단계는 사용자의 명시적 승인을 받아야 다음 단계로 넘어갈 수 있습니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 12k
- 순위
- #11495
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
fprime-cmake-build-system
12k에이전트가 F Prime 비행 소프트웨어 프로젝트의 CMake 계층을 통해 모듈, 빌드 타깃, 플랫폼 설정을 추가하도록 돕습니다.
fprime-component-design-fpp
12k에이전트가 승인된 F Prime 컴포넌트 요구사항을 포트, 명령, 이벤트, 텔레메트리의 FPP 모델로 바꾸도록 돕습니다.
fprime-component-implementation
12k에이전트가 F Prime 컴포넌트의 자동 생성된 핸들러 함수에 들어갈 C++ 코드를 프로젝트 규칙에 맞춰 작성하도록 돕습니다.
fprime-component-integration-test
12k에이전트가 실행 중인 배포를 대상으로 돌리는 F Prime 컴포넌트용 재사용 가능한 pytest 통합 테스트를 작성하도록 돕습니다.
비슷한 스킬
api-connector-builder
280k에이전트가 기존 패턴을 따라 새로운 API 연결을 만들도록 합니다. 새로운 방식을 도입하지 않고 연동을 하나 더 추가할 때 씁니다.
api-design
280k에이전트가 모범 사례에 따라 REST API를 설계하도록 돕습니다. API가 통신하는 방식, 오류를 보여 주는 방식, 데이터를 정리하는 방식을 정하는 데 유용합니다.
backend-patterns
280k에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.