Pular para o conteúdo
Skillpedia
Documentação12 mil · #11498

fprime-component-requirements

O que ela faz

Ele ajuda a IA a fazer as perguntas certas e a redigir uma lista de requisitos para um componente de software de voo, que você revisa antes de o projeto começar. É para engenheiros que definem novos componentes.

Quando usar

  • ✓Quando você começa um novo componente F Prime e precisa registrar seus requisitos.
  • ✓Quando quer definir os comandos, a telemetria, os eventos e os parâmetros de um componente.
  • ✓Quando o próximo passo é o projeto e os requisitos precisam ser confirmados antes.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/nasa/fprime/blob/devel/.github/skills/fprime-component-requirements/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Me ajude a escrever os requisitos de um novo componente F Prime que lê um sensor de temperatura.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A IA pergunta sobre a finalidade do componente, os componentes com os quais ele se comunica e seus comandos, e depois redige requisitos para você revisar e confirmar.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.md for 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:

  1. Component name and module: Where does this live in the project tree? (e.g., MyProject/Components/ThermalController)
  2. 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.
  3. 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
Perguntas frequentes

A IA pode escrever os requisitos sozinha?

Não. A skill diz que os rascunhos devem vir da sua contribuição e ser revisados com você antes do desenvolvimento.

Quais perguntas ela faz?

Pergunta sobre o papel do componente, com o que ele se conecta, quais comandos e telemetria ele precisa e se o trabalho é orientado a eventos ou em segundo plano.

Ele cobre eventos e parâmetros?

Sim. Pergunta quais eventos, níveis de severidade e parâmetros de execução o componente deve ter.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
12 mil
Posição no ranking
#11498
Licença
Apache-2.0
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas