Skip to content
Back to skills

Generating Accomplishments

ASecurity

Generate a PDS accomplishment status report from activity.json or by running the lasso-issues pds-activity CLI. Groups Planetary Data Cloud accomplishments by the PDC accounts used in the HQ bi-weekly report (Platform Engineering, Node Support, CloudOps) using the work_area in pds-products.yaml. Use when creating sprint reports, quarterly reports, annual reports, status updates, or accomplishment summaries. Triggers on "accomplishments", "status report", "sprint report", "quarterly report", "...

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 20, 2026
developmentpythongobashnodeawsgitapisecurity

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumUses curl or wget to download content
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add NASA-PDS/pds-agent-skills --skill generating-accomplishments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generating Accomplishments?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Generating Accomplishments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nasa-pds-generating-accomplishments/badge)](https://www.skillsdirectory.com/skills/nasa-pds-generating-accomplishments)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: generating-accomplishments
description: Generate a PDS accomplishment status report from activity.json or by running the lasso-issues pds-activity CLI. Groups Planetary Data Cloud accomplishments by the PDC accounts used in the HQ bi-weekly report (Platform Engineering, Node Support, CloudOps) using the work_area in pds-products.yaml. Use when creating sprint reports, quarterly reports, annual reports, status updates, or accomplishment summaries. Triggers on "accomplishments", "status report", "sprint report", "quarterly report", "what did we accomplish", "activity report".
---

# PDS Accomplishment Status Report Generator

Generates a canonical PDC accomplishment report from a `activity.json` file, grouped by the PDC accounts used in the HQ bi-weekly report: **Platform Engineering**, **Node Support** and **CloudOps** (plus **Cybersecurity**, which has its own `work_area`). Can optionally run the `pds-activity` CLI (from the `lasso-issues` tool) to collect the data first.

## Inputs

- **activity.json path** (optional): Path to an existing `activity.json` file. If not provided, the skill will offer to run `pds-activity` to generate one.
- **Clarifying answers** (gathered interactively before generating): reporting period label, audience, priority themes, scope, format.

## Prerequisites

- **If running pds-activity to collect data**: Python 3.10+, `lasso-issues` installed (see below), `GITHUB_TOKEN` env var set
- **GitHub token**: `export GITHUB_TOKEN=<your-token>` (needs `repo` read scope for NASA-PDS org)
- **Parent-theme Work Area lookup** (Step 3a): the GitHub CLI (`gh`) authenticated with read access to NASA-PDS issues

---

## Step 0 — Check pds-products.yaml for upstream changes

Before doing anything else, check whether `pds-products.yaml` (in this skill's directory) matches the upstream canonical version.

**Locate the skill directory:** `pds-products.yaml` lives alongside this `SKILL.md` — typically at `~/.claude/plugins/cache/pds-agent-skills/creating-pds-issues/<hash>/skills/generating-accomplishments/pds-products.yaml`.

**Fetch the upstream and diff:**
```bash
curl -fsSL https://raw.githubusercontent.com/NASA-PDS/.github/main/conf/pds-products.yaml > /tmp/pds-products-upstream.yaml
diff /tmp/pds-products-upstream.yaml <path-to-local-pds-products.yaml>
```

**If the diff shows changes to `products:` entries** (new repos, new products, changed `ignore:`, `work_stream:`, `work_area:` or `core_backbone:` values):
1. Apply those structural changes to the local copy — preserve our local comment additions (the reporting-exclusion notes at the top).
2. Do not copy upstream `version:` or `updated:` fields — those are intentionally omitted from our copy.
3. Confirm: "Updated `pds-products.yaml` — applied N changes from upstream."

**If the fetch fails** (network error, non-200): warn and continue with the local copy.
   > ⚠️ Could not check `pds-products.yaml` for updates (fetch failed). Using local copy. Check manually: https://github.com/NASA-PDS/.github/blob/main/conf/pds-products.yaml

**If diff shows only comment/whitespace differences:** proceed silently — no update needed.

---

## Step 1 — Determine Input Source

Check whether an `activity.json` was provided by the user (as a file path argument or mentioned in conversation).

**If provided:** load it directly. Confirm: "I found `<path>` — using that as the data source."

**If NOT provided:** ask the user:

> I don't see an `activity.json`. I can either:
> 1. Run `pds-activity` to collect fresh data from GitHub (requires `GITHUB_TOKEN` and `lasso-issues` installed)
> 2. Use a file you point me to
>
> Which would you prefer, and if option 1, what date range should I collect? (e.g., `2026-06-01` to `2026-06-30`)

Then proceed per their answer:
- **Option 1:** Follow [Step 1a — Run pds-activity](#step-1a--run-pds-activity) below.
- **Option 2:** Ask for the file path and load it.

### Step 1a — Run pds-activity

Verify `pds-activity` is available:
```bash
pds-activity --version 2>/dev/null || python -m lasso.issues.activity.cli --version 2>/dev/null
```

If missing, offer to install from main branch:
```bash
pip install git+https://github.com/NASA-PDS/lasso-issues.git@main
```

Or if the repo is checked out locally at `~/proj/pds/pdsen/workspace/lasso-issues`:
```bash
pip install -e ~/proj/pds/pdsen/workspace/lasso-issues
```

Once available, run collection — save output to `~/.claude/tmp/activity.json`. Do **not** restrict `--repos`: the CLI collects every non-ignored org repo, and account assignment (Step 3a) happens afterwards from `pds-products.yaml`, so Node Support, CloudOps and shared-repo work is all captured.
```bash
mkdir -p ~/.claude/tmp
pds-activity \
  --org NASA-PDS \
  --start-date <START> \
  --end-date <END> \
  --output ~/.claude/tmp/activity.json
```

Confirm success: "Collected activity data — `<N>` issues, `<M>` PRs, `<K>` releases."

---

## Step 2 — Ask Clarifying Questions

Before generating the report, ask the user ALL of the following questions in a single message. If the user says "just go" or "use defaults", apply the defaults shown and skip ahead.

```
Before I generate the report, a few quick questions:

1. **Reporting period label** — What should I call this period?
   (e.g., "Sprint 142", "Q3 FY2026", "June 2026", "FY2026 Annual")
   Default: derived from the activity.json date range

2. **Priority themes or highlights** — Are there any areas you want foregrounded or called out?
   (e.g., "Highlight Registry work", "Focus on cloud migration", "Lead with release milestones")
   Default: none — use natural grouping

3. **Scope** — Which accounts should I include?
   Options: All accounts / Specific accounts (list them) / Exclude specific accounts
   Default: all accounts with activity (Platform Engineering, Node Support, CloudOps, Cybersecurity)

4. **Output format** — Any specific format requirements?
   (e.g., Markdown, slide bullet points, email summary, Confluence wiki markup)
   Default: Markdown
```

Wait for answers before proceeding to Step 3.

---

## Step 3 — Parse and Group Activity Data

Load the `activity.json`. The top-level structure is:
```json
{
  "metadata": { "org": "...", "start_date": "...", "end_date": "...", "repo_count": N, ... },
  "issues": [ { "repo": "...", "title": "...", "state": "...", "labels": [...], "closed_at": "...", "html_url": "...", ... } ],
  "pull_requests": [ { "repo": "...", "title": "...", "merged_at": "...", "html_url": "...", ... } ],
  "releases": [ { "repo": "...", "tag": "...", "name": "...", "published_at": "...", "html_url": "...", ... } ]
}
```

### 3a — Assign each item to an account

Use [pds-products.yaml](./pds-products.yaml) in this skill directory. Each product has a `work_area` (the GitHub org "Work Area" issue field value). Map `work_area` to a report account:

| `work_area` in pds-products.yaml | Report heading |
|---|---|
| `PDC Platform Engineering` | Platform Engineering |
| `PDC Node Support` | Node Support |
| `PDC Cloud Operations` | CloudOps |
| `PDS Cybersecurity` | Cybersecurity |
| `Core Data Services`, `PDS Operations`, `Planetary Data UX` | *(not an account — see rule 2)* |

The yaml is the source of truth: do not hard-code repo lists in the report. A product moving between work areas (for example `observability` moving from Platform Engineering to CloudOps when it enters operations) is picked up by syncing the yaml in Step 0.

Products with `ignore: true` (`ops`, `dependencies`, `node-products`, `archived_repositories`) are silently excluded — do not surface them anywhere in the report.

**Assign each issue, PR and release to exactly one account, in this order (first match wins):**

1. **Product `work_area`** — look up the item's repo in the yaml. If its product's `work_area` is one of the four accounts above, use it.
2. **Parent theme `work_area`** — if the repo is *shared* (its product `work_area` is not an account, or it has none), read the Work Area field of the item's `parent_issue` (the theme). If that value is one of the four accounts, use it. The value is not in `activity.json`; fetch it once per distinct parent issue with the same query the `NASA-PDS/.github` automation uses:
   ```bash
   gh api graphql -f query='query($owner:String!,$repo:String!,$number:Int!){repository(owner:$owner,name:$repo){issue(number:$number){issueFieldValues(first:20){nodes{... on IssueFieldSingleSelectValue{field{... on IssueFieldSingleSelect{name}} name}}}}}}' -F owner=NASA-PDS -f repo=<parent repo> -F number=<parent number> --jq '.data.repository.issue.issueFieldValues.nodes[] | select(.field.name=="Work Area") | .name'
   ```
   A merged PR or release inherits the account of the issue it is linked to. If the lookup fails, treat the value as unknown and continue to rule 3 — never guess.
3. **Otherwise** the item maps to none of the accounts:
   - Work area is known but not an account (Core Data Services, PDS Operations, Planetary Data UX) and the item is cloud/AWS infrastructure work → **Related Cloud-Adjacent Work (Other Work Streams)**.
   - Work area is known but not an account and the item is not cloud-related → omit from this report and count it in the closing "omitted" line.
   - Work area is unknown (repo not in `pds-products.yaml`, product has no `work_area`, or the parent lookup failed) → **Unassigned**. Never place an item in an account by guessing.

Within each account, group by product (use the product's `description` as the label), then by repo.

**Core backbone products** (`core_backbone: true`) should be visually distinguished — add a ⭐ suffix to their section header.

### 3b — Collect accomplishments per product group

For each product group, gather:

**Closed issues** — `issues` where `state == "closed"` and `closed_at` is within the reporting window. Each issue is one accomplishment bullet.

**Merged PRs** — `pull_requests` where `merged_at` is within the reporting window. Surface only if NOT already represented by a linked issue (check `linked_issues` field — if non-empty and those issues are already captured, skip the PR to avoid duplication). If a PR has no linked issue, surface it as a standalone accomplishment.

**Releases** — `releases` where `published_at` is within the reporting window. Always surface releases as accomplishments (they represent completed milestones). **Skip pre-releases and dev builds**: exclude any release whose `tag` contains `SNAPSHOT`, `-dev`, `-alpha`, `-beta`, or `-rc` (case-insensitive) — these are not shipped deliverables.

**Filter out noise:** Skip issues/PRs with labels: `duplicate`, `invalid`, `wontfix`, `icebox`, `spam`. Skip bot-authored PRs (author contains `[bot]`).

**Exclude ignored products:** Any repo belonging to a product with `ignore: true` in `pds-products.yaml` (`ops`, `dependencies`, `node-products`, `archived_repositories`) must be silently excluded from all counts, bullets, and the metrics section. Never surface these repos anywhere in the report.

### 3c — Compute metrics

Before generating the report, compute the following counts across all non-ignored repos, **per account** (Platform Engineering, Node Support, CloudOps, Cybersecurity, Unassigned) and in total. Items in the cloud-adjacent section and omitted items are not counted in the account columns.

**Issue type counts** — classify each closed issue by its labels using this priority order (first match wins):

| Label(s) | Type |
|---|---|
| `bug`, `defect` | Bug |
| `requirement`, `feature` | Requirement / Feature |
| `enhancement`, `improvement` | Enhancement |
| `task` | Task |
| `theme` | Theme |
| `security` | Security |
| `breaking-change`, `backwards-incompatible` | Breaking Change |
| *(none of the above)* | Other |

Track per-type counts and per-account breakdowns. Also track:
- **Releases shipped**: count of `releases` items in the window (excluding SNAPSHOT / -dev / -alpha / -beta / -rc tags)
- **PRs merged** (standalone, not already counted via linked issue): count
- **Repositories active**: count of distinct repos with at least one closed issue, merged PR, or release
- **Themes addressed**: count of distinct parent issues / themes referenced by any closed issue
- **Must-have items completed**: count of closed issues with `p.must-have` label
- **Should-have items completed**: count of closed issues with `p.should-have` label

### 3d — Detect highlights

Across ALL accounts, identify the top 5–8 accomplishments that represent the most significant work. Criteria:
- Issues linked to a `theme` or `p.must-have` label
- Issues whose parent issue is a release theme
- Releases (always significant)
- Issues/PRs with labels: `breaking-change`, `backwards-incompatible`, `security`, `requirement`
- Issues with `closing_release` set (delivered in a release)

---

## Step 4 — Generate the Report

### Report structure

```markdown
# Planetary Data Cloud Accomplishments — <REPORTING_PERIOD>

> **Period:** <START_DATE> – <END_DATE>
> **Source:** `pds-activity` across <N> NASA-PDS repositories; accounts assigned from `work_area` in `pds-products.yaml`

---

## At a Glance

| Metric | Platform Engineering | Node Support | CloudOps | Cybersecurity | Unassigned | Total |
|--------|---------------------|--------------|----------|---------------|------------|-------|
| 🐛 Bugs resolved | N | N | N | N | N | N |
| ✨ Requirements / Features delivered | N | N | N | N | N | N |
| 🔧 Enhancements completed | N | N | N | N | N | N |
| ✅ Tasks completed | N | N | N | N | N | N |
| 🎯 Themes addressed | N | N | N | N | N | N |
| 🔒 Security issues resolved | N | N | N | N | N | N |
| ⚠️ Breaking changes | N | N | N | N | N | N |
| 🚀 Releases shipped | N | N | N | N | N | N |
| 📦 Repositories active | N | N | N | N | N | N |
| 🔀 PRs merged (standalone) | N | N | N | N | N | N |
| 🏆 Must-have items completed | N | N | N | N | N | N |
| 📋 Should-have items completed | N | N | N | N | N | N |

*(Excludes noise labels: duplicate, invalid, wontfix, icebox, spam. "Total" is the sum of the account columns and Unassigned; "Repositories active" and "Themes addressed" count distinct values, so a repo or theme spanning accounts appears once in Total.)*

---

## Highlights

- <Top accomplishment 1> ([repo#N](url))
- <Top accomplishment 2> ...
(5–8 bullets, outcome-focused, one link per bullet)

---

## Platform Engineering

### <Product Name> [⭐ if core_backbone]
*<product description>*

#### <repo-name>

**Releases**
- `v<tag>` — <release name> ([<repo>](url))

**Completed Work**
- <Issue/PR title> ([<repo>#<N>](url))
- ...

(repeat for each product, and each repo within it, with activity in this account)

---

## Node Support

(same structure)

---

## CloudOps

(same structure)

---

## Cybersecurity

(same structure)

---

## Related Cloud-Adjacent Work (Other Work Streams)

*Cloud/AWS infrastructure work in repos whose work area is not one of the accounts above:*

### <Work area> — <Product>

- <Issue/PR title> ([<repo>#<N>](url))

---

## Unassigned

*Work whose account could not be determined from `pds-products.yaml` or the parent theme's Work Area:*

- **<repo-name>**: <title> ([#N](url)) — <why unassigned: repo not in yaml / no parent theme / lookup failed>

---

*N items from other work areas (Core Data Services, PDS Operations, Planetary Data UX) were outside the scope of this report.*
```

Omit the Cybersecurity, Related Cloud-Adjacent Work and Unassigned sections, and the closing line, when they are empty. Omit the Cybersecurity column when it has no activity.

### Bullet style rules

- **Start with a verb**: "Adds…", "Fixes…", "Delivers…", "Implements…", "Resolves…"
- **Keep bullets ≤ ~15 words** before the link
- **Every bullet MUST end with a GitHub link** in the form `([repo#N](url))` or `([repo](url))` for releases
- **Breaking changes** get a ⚠️ prefix: `⚠️ Breaking: removes deprecated API v1 ([registry#123](url))`
- **Security fixes** get a 🔒 prefix
- For releases, format as: `` `v1.4.0` released — <brief description> ([registry](url)) ``
- If a parent issue / theme is known, add it as a sub-bullet: `  ↳ Theme: [Sprint 141 Theme: Cloud Migration](url)`
- Omit product sections with zero activity (don't create empty headers)

---

## Step 5 — Present and Offer Export

Display the full report in the conversation.

Then ask:
> Would you like me to:
> 1. Save this to a file (e.g., `accomplishments-<period>.md`)?
> 2. Adjust any sections, reorder priorities, or change the format?
> 3. Generate a condensed version (e.g., slide bullets or email summary)?

Apply any requested changes and save if asked.

---

## Edge Cases

- **Empty accounts / product groups**: Silently omit from report — do not create headers with no content.
- **Repo not in products.yaml**: Goes to Unassigned. Never fail on unknown repos.
- **Product without `work_area`**: Treated as unknown work area (rule 3) — Unassigned unless the parent theme resolves it.
- **Parent theme lookup fails or has no Work Area**: Fall through to rule 3; never guess an account.
- **Parent theme Work Area disagrees with the repo's product**: For repos whose product `work_area` is an account, the product wins (rule 1). Mention the disagreement in the Unassigned/notes only if the user asks.
- **Duplicate accomplishments** (same issue appears in both `issues` and linked from a PR): Deduplicate — show the issue once, skip the PR.
- **No activity in an account**: Omit that entire account section.
- **Releases with empty body_summary**: Show as `` `vtag` released `` with just the link.
- **Very large datasets** (500+ items): Summarize by product group rather than listing every item — cap each product at 10 bullets, add "_(and N more)_" if truncated.
- **Missing dates** (`closed_at` or `merged_at` is null): Include the item but note "(date unknown)".
- **Parent issue / theme linking**: If `parent_issue` is present on an ActivityIssue, show the theme title as a sub-bullet to provide context.
- **Legacy work-stream layout**: If the user explicitly asks for the old Core Data Services / Planetary Data Cloud / Web Modernization grouping, group by the product's `work_stream` instead of Step 3a's account assignment.

---

## Additional Resources

- [pds-products.yaml](./pds-products.yaml) — PDS product-to-repository mapping (including `work_area`) used for grouping
- [lasso-issues CLI docs](https://github.com/NASA-PDS/lasso-issues) — source for `pds-activity` tool

Files in this skill

  • SKILL.md18.2 KB
  • pds-products.yaml10.4 KB

Attribution

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

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.