본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)12k · #11495

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nasa/fprime/blob/devel/.github/skills/fprime-component-development/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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

  1. 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.

  2. 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 (see docs/how-to/test-driven-development.md).

  3. 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.

  4. 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.

  5. 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬