jpl-design-principles
できること
ソフトウェアに関係するJPLの設計原則を要約します。異常の調査、ミッションの堅牢性、障害保護、運用中のテストなどを含みます。飛行ソフトウェアのエンジニアとレビュー担当者向けです。
使う場面
- ✓飛行ソフトウェアを書いたり変更したりして、設計のチェックリストがほしいとき。
- ✓プルリクエストが、JPLの設計原則に違反していないかをレビューするとき。
- ✓設計の障害保護と堅牢性を確認したいとき。
スキルのリンク
https://github.com/nasa/fprime/blob/devel/.github/skills/jpl-design-principles/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この飛行ソフトウェアの変更を、JPLの設計原則に照らして確認し、問題があれば指摘してもらえますか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIはコードを、グループ分けされた原則と照らし合わせ、関係する原則を一つずつ確認して、変更が原則と矛盾しそうな箇所を説明します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Skill: JPL Design Principles — Software Distillation
Source: JPL Design Principles — "Design, Verification/Validation and Operations Principles for Flight Systems" (DP10, External Release V4). Numbering below mirrors the original document sections so every rule is traceable.
Section 2 — Principles (software-relevant subset)
P-2.1.1 Enable Anomaly Investigations
Design and operate the mission so that future anomaly investigations have the data needed to prevent recurrence — even if the mission is lost.
P-2.2.1 Mission Robustness
Protect threshold mission in the presence of flight system faults, mission system faults, and operator errors. Stored critical data shall be protected from loss due to credible fault scenarios.
P-2.2.3 Fault Protection Expectations
Fault protection preserves flight system health, safety, and consumables throughout all mission phases, except when completion of time-critical events takes priority.
P-2.2.5 Escapes
Take actions during I&T and operations to detect errors and reduce the chance of escapes.
P-2.2.6 Test As You Fly
Test systems in conditions that match or exceed flight conditions; fly systems within the bounds already tested.
P-2.3.1 Design for Ops
Develop the project and flight system keeping operational impacts of design choices in mind. Encourage approaches that reduce operational complexity and interdependencies (fewer calibrations, more on-board autonomy, robust margins). Critical flight software parameter updates shall have the same rigor as a full FSW update.
P-2.3.2 Unambiguous
Design flight and ground systems to set and know the state of the flight system unambiguously.
P-2.3.3 Fault Avoidance
Take design action to avoid building-in known vulnerabilities.
P-2.3.6 Graceful Degradation
Build design robustness through graceful degradation following a failure — incremental loss of capability such that a reduced set of mission requirements is still met.
P-2.3.7 Fault Recovery
Full mission capability is retained or recovered following faults or operator errors.
P-2.4.1 Technical Resource Margins for Operations
Preserve a portion of technical resource margins (power, memory, throughput, bus bandwidth, delta-V) at launch to solve problems after launch.
P-2.4.2 Reliability through Design Margins
Margins are established consistent with design maturity and mission environments, accommodate "unknown unknowns," and enable changes with minimal ripple effects.
P-2.5.1 Margins for Development
Manage development risk through margin establishment. Margins may follow a glide slope (e.g., mass/power decrease over lifecycle) or be set once (e.g., pointing/stability).
P-2.5.2 Avoid Local Optimization
Constrain the number and type of interfaces to avoid duplication of design and testing effort at the system level.
P-2.6.1 Follow Identified Standards
Follow identified standards or practices (possibly with JPL exceptions).
P-2.6.2 Follow Software Best Practices
Follow software best practices as mapped to Design Rules in Section 4.11.
Section 4 — Flight System Design Rules (software-relevant subset)
DR-4.1.3.1 Single Failure Tolerance
No single failure of any element shall result in failure to meet threshold mission requirements. All single-point failures must be identified.
DR-4.1.3.2 Protection Against Operator Errors
The design shall protect against ground operator errors that could result in loss of mission or significant impact.
DR-4.4.4.4 Assured Commanding
Commanding functions shall be robust to power outages and degraded communications (e.g., hardware command decoding, non-volatile memory).
DR-4.4.4.6 Commanding Reliability
Provide protection against all incorrect commands and against correct but untimely commands that risk health/safety, initiate irreversible state changes, threaten consumables, or jeopardize commandability.
DR-4.4.4.8 Onboard Command Processing Approach
Avoid direct memory location manipulation for command processing. Use software functions to translate commands into actions.
DR-4.4.4.9 Two Independent Commands for Hazardous Events
Initiation of hazardous or mission-critical in-flight events shall require at least two independent commands or actions.
DR-4.4.6.1 Visibility of S/C Status
Provide telemetry data to assess spacecraft status under normal, stressed, and faulted operations — including health, anomaly determ
よくある質問
JPLの文書の全文ですか?
いいえ。ソフトウェアに関係する要約で、元の文書の節に番号を合わせています。
どんなテーマを扱いますか?
異常の調査、ミッションの堅牢性、障害保護、テスト、運用のための設計などを扱います。
エンジニアの判断に代わりますか?
いいえ。これはチェックリストなので、それぞれの原則をどう当てはめるかは、資格のあるエンジニアが判断する必要があります。
詳細
作者による元の説明
Software-relevant distillation of the JPL Design Principles (DP10, External Release V4). Use as a developer checklist when writing or modifying F Prime flight software, and as a reviewer reference for flagging JPL Design Principle violations in PRs. Keywords: JPL, design principles, flight software, margins, fault protection, testability, keep-it-simple, KISS, robustness.
repo: nasa/fprime
人気
- GitHubのスター
- 12k
- ランキング
- #11505
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
fprime-cmake-build-system
12kエージェントが、CMakeの層を通じて、F Primeの飛行ソフトウェアのプロジェクトにモジュール、ビルドのターゲット、プラットフォームの設定を追加できるよう支援します。
fprime-component-design-fpp
12kエージェントが、承認されたF Primeのコンポーネント要件を、ポート、コマンド、イベント、テレメトリのFPPモデルに変換できるよう支援します。
fprime-component-development
12kエージェントが、要件からインテグレーションテストまで、F Primeのコンポーネントを各開発フェーズで進められるよう支援します。
fprime-component-implementation
12kエージェントが、プロジェクトのルールに従って、F Primeのコンポーネントの自動生成されたハンドラー関数の裏にあるC++のコードを書けるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。