Skip to content
Skillpedia
General coding12k · #11505

jpl-design-principles

What it does

It summarizes the software-relevant JPL Design Principles, such as mission robustness, fault protection and testing as you fly. It is for engineers and reviewers of flight software.

When to use it

  • ✓When you write or change flight software and want a design checklist.
  • ✓When you review a pull request for possible violations of JPL design principles.
  • ✓When you want to check fault protection and robustness in a design.

Skill link

https://github.com/nasa/fprime/blob/devel/.github/skills/jpl-design-principles/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/nasa/fprime/blob/devel/.github/skills/jpl-design-principles/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check this flight software change against the JPL design principles and flag any problems?”

5 new skills a week. 1 minute to read.

How it works

The AI reads the code against the grouped principles, checks each relevant one and explains where a change may conflict with it.

Technical content (original SKILL.md)

Original text by the author, straight from 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

FAQ

Is this the full JPL document?

No. It is a software-relevant summary, numbered to match the original document's sections.

What topics does it cover?

It covers topics such as investigating anomalies, mission robustness, fault protection, testing and design for operations.

Does it replace engineering judgment?

No. It is a checklist, so a qualified engineer still needs to judge how each principle applies.

Details

Original description by the author

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

Popularity

GitHub stars
12k
Ranking position
#11505
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills