मुख्य सामग्री पर जाएँ
Skillpedia
API और सर्वर (backend)12k · #11495

fprime-component-development

यह क्या करती है

यह AI को क्रम से आवश्यकताएँ, FPP डिज़ाइन, C++ कोड, यूनिट टेस्ट और इंटीग्रेशन टेस्ट के चरणों में ले जाती है। यह नए फ़्लाइट सॉफ़्टवेयर कंपोनेंट बनाने वाली टीमों के लिए है।

कब इस्तेमाल करें

  • ✓जब आप नया F Prime कंपोनेंट शुरू करते हैं और चाहते हैं कि पूरी प्रक्रिया अपनाई जाए।
  • ✓जब आप किसी मौजूदा F Prime कंपोनेंट में बड़ी कार्यक्षमता जोड़ना चाहते हैं।
  • ✓जब आप चाहते हैं कि अगला चरण शुरू होने से पहले हर चरण स्वीकृत हो।

Skill का लिंक

https://github.com/nasa/fprime/blob/devel/.github/skills/fprime-component-development/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/nasa/fprime/blob/devel/.github/skills/fprime-component-development/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप मुझे नए F Prime कंपोनेंट को आवश्यकताओं से लेकर टेस्ट तक बनाने की प्रक्रिया में मार्गदर्शन दे सकते हैं?”

हर हफ़्ते 5 नई skills, 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
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

fprime-cmake-build-system

12k

यह आपके एजेंट को F Prime फ़्लाइट सॉफ़्टवेयर प्रोजेक्ट की CMake लेयर के ज़रिए मॉड्यूल, बिल्ड टार्गेट और प्लेटफ़ॉर्म सेटिंग जोड़ने में मदद करती है।

कोडिंगसामान्य कोडिंग

fprime-component-design-fpp

12k

यह आपके एजेंट को स्वीकृत F Prime कंपोनेंट की आवश्यकताओं को उसके पोर्ट, कमांड, इवेंट और टेलीमेट्री के FPP मॉडल में बदलने में मदद करती है।

कोडिंगAPI और सर्वर (backend)

fprime-component-implementation

12k

यह आपके एजेंट को F Prime कंपोनेंट के जनरेट हुए हैंडलर फ़ंक्शन के पीछे का C++ कोड प्रोजेक्ट के नियमों के अनुसार लिखने में मदद करती है।

कोडिंगAPI और सर्वर (backend)

fprime-component-integration-test

12k

यह आपके एजेंट को F Prime कंपोनेंट के लिए pytest इंटीग्रेशन टेस्ट लिखने में मदद करती है, जो चल रही डिप्लॉयमेंट के विरुद्ध चलते हैं और दोबारा इस्तेमाल हो सकते हैं।

कोडिंगटेस्टिंग

मिलती-जुलती skills