跳到正文
Skillpedia
通用编程12k · #11505

jpl-design-principles

它能做什么

它概括与软件相关的 JPL 设计原则,例如任务鲁棒性、故障保护,以及飞行中的测试。适用于飞行软件的工程师和审查人员。

适用场景

  • ✓当你编写或修改飞行软件,并希望有一份设计检查清单时。
  • ✓当你审查拉取请求,检查是否可能违反 JPL 设计原则时。
  • ✓当你想检查设计中的故障保护和鲁棒性时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nasa/fprime/blob/devel/.github/skills/jpl-design-principles/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能