본문으로 건너뛰기
Skillpedia
문서화12k · #11502

fprime-requirements-review

하는 일

각 요구사항을 객관적으로 테스트할 수 있는지 검토하고, 요구사항 집합이 전체 요청과 실패 사례를 다루는지 확인합니다. F Prime 요구사항을 다루는 엔지니어와 검토자를 위한 스킬입니다.

사용하는 경우

  • ✓설계가 시작되기 전에 F Prime 요구사항 집합에 대한 비판적 검토가 필요할 때.
  • ✓요구사항 변경이 제안되어 다시 검토해야 할 때.
  • ✓요구사항에 명확한 통과 기준이 있는지 알고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

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

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

AI에게 요청하는 예시

“이 요구사항들을 검토하고, 객관적으로 테스트할 수 없는 항목이 무엇인지 알려 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 각 요구사항에 명확한 자극, 관찰 가능한 결과, 통과 기준이 있는지 확인한 뒤, 전체 집합이 원래 요청을 다루는지 점검합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Skill: F Prime Requirements Review

A requirement is the contract everything downstream is verified against (fprime-component-requirements). This skill is the review side of that contract: it asks of every requirement can it be objectively verified? and of the set does it cover the request? It is adversarial — look for the requirement that a wrong component would still satisfy, and the request element no requirement covers.

Inputs: the requirements table in the fprime-component-requirements Step 2 form, the request it serves (issue, human goals, parent requirements), and the SDD if one exists. Review against the request, never against an implementation. The FPP model of an existing component may be opened only to enumerate its interfaces for RS-2, never to decide what a requirement means.


1. Per-requirement checks

RQ-1 — Objectively verifiable

From the row alone the reviewer can write three things: the stimulus or condition, the observable a test or inspector reads (a named event, channel, command response, return value, file state…), and the pass criterion with units and bounds. If any of the three cannot be written, the row fails. "Appropriately", "quickly", "robust", "as needed", "handle", and undefined qualifiers such as "invalid" fail by construction. Two independently testable outcomes are two requirements; one pipeline (read, packetize, send) is one.

Finding-class: req-not-verifiable.

RQ-2 — Easily understood

One sentence, active voice, shall; terms defined in the request, the SDD, or F Prime documentation; readable by someone who has not seen the design. No design or implementation content (port kinds, FPP constructs, data structures, algorithms) — those are design decisions (fprime-component-requirements Step 3).

Finding-class: req-unclear (reader cannot state the behaviour, or wording is clear but not crisp) / req-contains-design.

RQ-3 — Rationale

The rationale names an RS-1 request element, a parent REQ-ID, or an RS-2 fault scenario. One that names none — empty, or a restatement of the shall statement — fails. The reviewer never supplies a missing rationale; a requirement nobody can justify is a deletion candidate.

Finding-class: req-no-rationale.

RQ-4 — Verification method, strongest feasible

Each row names a method; the first entry must be the strongest that can observe RQ-1's outcome, further entries may follow:

Method Use when
Unit test The outcome is observable at the component boundary alone (ports, commands, events, telemetry, parameters) with a component unit-test harness.
Integration test (system test) The outcome needs more than one component, a deployment, real timing, or real hardware.
Inspection The outcome is not observable at run time (coding constraints, documentation, build-time budgets). Last resort.

Missing, "TBD", unqualified "Test", or a method that cannot observe the outcome (unit test for a timing or cross-component behaviour; inspection for a run-time behaviour) → req-no-verification: the requirement stands, the method must change. A method that can observe the outcome when a stronger one in the table also can ("integration test" for an outcome observable at the component boundary alone) → req-weak- verification. Inspection of a run-time behaviour is never "weak": it cannot observe it and is req-no-verification. Absence of a written test is never a reason to accept a weaker method.


2. Set-level checks

RS-1 — Breadth of the request

Before reading the rows, list every element of the request — each goal sentence, named command, telemetry item, event, parameter, interface, mode, constraint — then map each to the requirement(s) that cover it. An element is covered only when a mapped requirement's observable outcome is the element's outcome (the operator's setpoint change takes effect, not "a setpoint parameter exists"). Naming the element is not coverage. An element with no covering requirement is a gap unless the request explicitly excludes it. Only elements the request states count here; do not infer others.

Finding-class: req-set-gap.

RS-2 — Fault and failure scenarios

For each interface, input, resource and external dependency named in the request or in any requirement's shall statement, ask what happens on: invalid or out-of-range input; input or command in a mode/state that does not accept it; no response or timeo

자주 묻는 질문

어떤 요구사항이 검토에서 떨어지나요?

'appropriately'나 'robust' 같은 모호한 단어, 'invalid' 같은 정의되지 않은 용어를 쓰면 테스트할 수 없으므로 떨어집니다.

코드도 검토하나요?

아닙니다. 구현이 아니라 원래 요청에 비추어 요구사항을 검토합니다.

커버리지에서는 무엇을 확인하나요?

요청의 누락된 요소와, 어떤 요구사항도 다루지 않는 결함 및 실패 사례를 찾습니다.

상세 정보

작성자의 원본 설명

Adversarial review of an F Prime requirements set before design or code exists, or when a human asks for one on a PR that changes requirements. Checks each requirement for objective verifiability, clarity, rationale, and the strongest feasible verification method (unit test, then integration/system test, then inspection), and checks the set for breadth of the request and fault/failure coverage. Keywords: F Prime, requirements, review, verifiable, rationale, verification method, fault coverage, shall statement.

repo: nasa/fprime

인기도

GitHub 스타
12k
순위
#11502
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬