Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

E5053 Function

ASecurity

Audit the function subclause of a SpaceWire service primitive against ECSS-E-ST-50-53 clause 5.2.2.1. Use when a protocol service definition needs its per-primitive purpose statements graded before baseline: confirm every declared primitive carries a function statement, measure the informative content it adds beyond the primitive name, catch a statement that only restates that name, detect parameter, generation-timing or receiver-side detail that belongs in the neighbouring subclauses, flag n...

2 stars
0 votes
0 copies
0 views
Added 9/27/2026
ai-agentspython

Works with

claude code

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add ashfordeOU/aero-agent-skills --skill e5053-function --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of E5053 Function?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for E5053 Function
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashfordeou-e5053-function/badge)](https://www.skillsdirectory.com/skills/ashfordeou-e5053-function)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: e5053-function
description: "Audit the function subclause of a SpaceWire service primitive against ECSS-E-ST-50-53 clause 5.2.2.1. Use when a protocol service definition needs its per-primitive purpose statements graded before baseline: confirm every declared primitive carries a function statement, measure the informative content it adds beyond the primitive name, catch a statement that only restates that name, detect parameter, generation-timing or receiver-side detail that belongs in the neighbouring subclauses, flag normative wording smuggled into an informative statement, and report two primitives sharing one statement. Trigger: ecss, e-st-50-53, service-primitive-function-subclause, primitive-purpose-statement, spacewire-service-definition, subclause-content-leakage, primitive-name-restatement, informative-statement-audit."
license: Apache-2.0
compliance: STANDARDS-REF
standards:
  - id: ecss
    reference-only: true
gated: false
domain: space-systems
pack: space-systems
compatibility: "agentskills.io SKILL.md; any SKILL.md host (Claude Code, Hermes, OpenClaw)"
metadata:
  domain: space-systems
  subdomain: ecss
  tags: [ecss, e-st-50-spacewire-scope, e5053-function, service-primitive-function-subclause, primitive-purpose-statement, spacewire-service-definition, subclause-content-leakage, primitive-name-restatement]
  version: 0.1.0
  author: Aero Agent Skills
---

# ECSS SpaceWire Service Primitive — Function Subclause (space-systems/ecss/e5053-function)

Use when the task is the function subclause of ECSS-E-ST-50-53 clause
5.2.2.1 — the one statement that says what a service primitive is for,
written once per primitive and read by every implementer before they
reach the parameter list, the generation conditions or the receipt
behaviour.

## Domain quick reference

- A service primitive is specified by a fixed set of subclauses:
  function, semantics, when generated, effect on receipt, additional
  comments. Clause 5.2.2.1 owns the first of them. Its job is to state
  the primitive's purpose, not to describe how it is carried, when it
  fires or what the peer does with it.
- The test that separates a usable function statement from a placeholder
  is informative content. A primitive named for a data transfer whose
  function statement says it transfers data has added nothing an
  implementer did not already have from the name; the statement has to
  carry tokens the name does not.
- Content leakage between subclauses is the recurring defect. Parameter
  names, octet counts, types and encodings belong to semantics; triggers,
  timer expiries and originating events belong to when generated; state
  changes at the peer belong to effect on receipt. A function statement
  that carries them duplicates text that will drift out of step the first
  time one of the two copies is edited.
- The function subclause is informative in tone and normative in status
  only through the requirements that reference it. Normative verbs inside
  it create a second, unnumbered requirement that no compliance matrix
  will ever pick up.
- Two primitives sharing a single function statement means one of them is
  undescribed. It is a set-level defect and cannot be seen by reading one
  primitive at a time, which is why the audit runs over the whole service
  definition rather than per entry.

## Workflow

1. Validate the service definition: a non-empty sequence of primitive
   records, each with a primitive name; duplicate names are a malformed
   specification, not a finding to be reported and carried forward.
2. For each primitive, resolve its function statement. A missing key, an
   explicit null or a statement that normalises to nothing are the same
   defect — the subclause is absent.
3. Normalise whitespace, then tokenise both the primitive name and the
   statement so the comparison is not defeated by separators, case or the
   dotted request/indication suffix.
4. Subtract the name tokens and the closed stopword set from the
   statement tokens; what remains is the informative content. Below the
   declared floor the statement is a restatement of the name.
5. Scan the statement for terms owned by the neighbouring subclauses and
   group each hit under the subclause it belongs to, so the finding tells
   the author where to move the sentence rather than only that it is
   wrong.
6. Scan for normative wording and for a statement that runs past the
   sentence budget; a multi-sentence function subclause is usually two
   subclauses that have been merged.
7. Compare normalised statements across the whole set and report every
   group of primitives sharing one, then report the per-primitive results
   with the compliant count against the total.

## Pitfalls

- Accepting a statement because it is present. Presence is the cheapest
  of the checks; a one-line echo of the primitive name passes it and
  still leaves the primitive undescribed.
- Comparing raw strings when looking for duplicates. Case, trailing
  punctuation and doubled spaces hide a duplicate that normalisation
  exposes immediately.
- Moving a parameter list into the function statement to keep the
  semantics subclause short. That inverts the subclause structure and
  the duplicate drifts as soon as a parameter is added.
- Reporting content leakage without naming the owning subclause. The
  author needs the destination; an unattributed finding gets closed by
  deleting the sentence rather than relocating it.
- Treating a duplicate primitive name as a finding. A service definition
  that names one primitive twice is not partially compliant, it is
  unreadable, and the audit has to refuse it.

## Behavior contract (gate 3)

The record validation, name and statement tokenisation, informative
content measurement, restatement decision, subclause leakage grouping,
normative wording scan and set-level duplicate detection are exercised by
the gate 3 contract test:
scripts/test_e5053_function.py against scripts/e5053_function_logic.py
(stdlib unittest, offline). Run:
python3 scripts/test_e5053_function.py

## Compliance

- ECSS standards are freely downloadable (ESA); cite the source and
  paraphrase per standards-map.yaml.
- compliance: STANDARDS-REF, gated: false.

Attribution

ashfordeOUashfordeOU
View sourceMore from ashfordeOU →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

694821 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →