You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+85-61Lines changed: 85 additions & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,90 +4,114 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
4
4
5
5
## Repository Overview
6
6
7
-
This repository contains Claude Code skills for NASA's Planetary Data System (PDS). Skills are reusable AI agents that perform specialized tasks within the Claude Code CLI environment.
-`SKILL.md` - Skill definition and prompt for generating GitHub release notes
13
-
-`templates/` - Template files for release note formatting
14
-
-`additional_resources/` - Supporting documentation including PDS label mapping
7
+
This repository contains Claude Code skills for NASA's Planetary Data System (PDS). Skills are reusable AI agents that perform specialized tasks within the Claude Code CLI environment. There are no build commands, tests, or compilation steps - this is a documentation and configuration repository.
15
8
16
9
## Skills Architecture
17
10
18
11
### What is a Skill?
19
12
20
-
Skills in this repository are defined by `SKILL.md` files that contain:
21
-
1.**Frontmatter** (YAML format) with `name` and `description` fields
22
-
2.**Detailed instructions** for Claude Code on how to execute the skill
23
-
3.**Input/output specifications** defining expected parameters and results
24
-
4.**Style rules and algorithms** that govern skill behavior
13
+
Skills are defined by `SKILL.md` files with YAML frontmatter and detailed instructions. Structure:
14
+
15
+
```
16
+
skill-name/
17
+
├── SKILL.md # Main skill definition with frontmatter and instructions
18
+
├── scripts/ # Optional: Node.js scripts for complex operations
- Auto-detects repository from git remote (origin → upstream fallback)
43
+
- Security-first with PII/credential sanitization
44
+
- Template caching (7-day refresh) to minimize API calls
45
+
- Requires GitHub CLI (`gh`) and Node.js v18+ for caching scripts
44
46
45
-
**Label Mapping:**
46
-
The skill uses PDS-specific GitHub labels to categorize changes. See `release-notes/additional_resources/label_mapping.md` for the complete mapping of PDS labels to release note sections.
47
+
## Shared Resources
47
48
48
-
**Critical Rules:**
49
-
1. Breaking changes ALWAYS appear first if present
50
-
2. Every bullet point MUST include a GitHub link
51
-
3. Highlights should be outcome-focused (3-6 bullets)
52
-
4. Section order is strict: Breaking → Highlights → New → Improvements → Fixes → Security → Deprecations → Compatibility → Upgrade notes → Known issues → Links
- Used by multiple skills for consistent label interpretation
51
+
- Defines semantics for priority, severity, type, status labels
53
52
54
-
## Development Workflow
53
+
## Key Workflows
55
54
56
55
### Adding a New Skill
57
56
58
-
1. Create a new directory under the repository root: `<skill-name>/`
59
-
2.Add a `SKILL.md` file with:
60
-
- YAML frontmatter containing `name` and `description`
61
-
- Comprehensive instructions for Claude Code
57
+
1. Create directory: `<skill-name>/`
58
+
2.Create `SKILL.md` with:
59
+
- YAML frontmatter (`name`, `description`)
60
+
- Comprehensive instructions for autonomous execution
62
61
- Input/output specifications
63
62
- Style rules and edge cases
64
-
3. Add supporting resources in subdirectories as needed (templates, additional_resources)
65
-
66
-
### Testing Skills
67
-
68
-
Skills are invoked within Claude Code sessions. Test by:
69
-
1. Providing sample inputs that match the skill's expected format
70
-
2. Verifying outputs follow the specified structure and style rules
71
-
3. Testing edge cases documented in the skill definition
72
-
73
-
### Documentation
74
-
75
-
- Update `CHANGELOG.md` following [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format
76
-
- Use [Semantic Versioning](https://semver.org/spec/v2.0.0.html) for version numbers
77
-
- The README.md is a template file - populate it with actual project information
63
+
3. Add supporting resources as needed (scripts/, resources/, templates/)
64
+
4. Update README.md "Available Skills" section
65
+
5. Update CHANGELOG.md following [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
78
66
79
67
## PDS Context
80
68
81
-
This repository is part of NASA's Planetary Data System (PDS) Engineering Node (EN). Skills are designed to support PDS development workflows, particularly around release management and GitHub operations.
69
+
### Label System Philosophy
82
70
83
-
### PDS Label System
71
+
PDS uses GitHub labels for categorization and prioritization:
84
72
85
-
PDS uses a comprehensive GitHub label system for issue/PR categorization:
86
-
-`backwards-incompatible` / `breaking-change` - Breaking changes requiring major version bump
87
-
-`security` - Security vulnerabilities or concerns
73
+
**Type labels:**
74
+
-`backwards-incompatible` / `breaking-change` - Breaking changes (major version bump)
75
+
-`security` - Security vulnerabilities
88
76
-`requirement` - New feature user stories
89
77
-`enhancement` - Improvements to existing features
90
78
-`bug` - Bug fixes
91
-
-`maintenance` - Internal maintenance (usually omitted from release notes)
3.**Planetary Data Cloud** - Cloud migration, infrastructure
112
+
113
+
## Documentation Standards
92
114
93
-
Many other labels exist for planning, triage, and project tracking but are not included in user-facing release notes. See `release-notes/additional_resources/label_mapping.md` for the complete reference.
115
+
-**CHANGELOG.md**: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format
This repository contains [Claude Code skills](https://docs.claude.com/en/docs/claude-code/skills) for NASA's Planetary Data System (PDS) Engineering Node. Skills are specialized AI agents that automate complex tasks within the [Claude Code CLI environment](https://claude.ai/code).
14
17
18
+
**🎯 [Browse Skills Catalog →](SKILLS_CATALOG.md)** - View all available skills with detailed descriptions and use cases
19
+
15
20
## Table of Contents
16
21
17
22
-[What are Claude Code Skills?](#what-are-claude-code-skills)
@@ -40,25 +45,16 @@ Skills help automate repetitive or complex workflows, making development more ef
40
45
41
46
## Available Skills
42
47
43
-
### 📝 Release Notes Generator
44
-
45
-
**Location:**`release-notes/`
46
-
47
-
Generates structured, user-friendly GitHub release notes from PR/issue data with:
48
+
**📖 [View Full Skills Catalog →](SKILLS_CATALOG.md)** - Browse all skills with detailed descriptions, use cases, and examples
48
49
49
-
- Automatic categorization (Breaking Changes, New Features, Improvements, Fixes, Security)
50
-
- Prominent breaking changes warnings (⚠️)
51
-
- Executive summaries in "Highlights" section
52
-
- Mandatory GitHub links for all changes
53
-
- PDS-specific label mapping
54
-
- Optional upload to GitHub releases via `gh` CLI
50
+
### Quick Overview
55
51
56
-
**Use cases:**
57
-
- Creating release notes for PDS software releases
58
-
- Generating changelog summaries from GitHub data
59
-
- Ensuring consistent release note formatting across PDS projects
52
+
| Skill | Description |Use Cases |
53
+
|-------|-------------|-----------|
54
+
|**[generating-release-notes](generating-release-notes/SKILL.md)**| Generate structured GitHub release notes with breaking changes, categorization, and upload | Software releases, changelogs, version announcements |
55
+
|**[creating-pds-issues](creating-pds-issues/SKILL.md)**| Create GitHub issues using official NASA-PDS templates with security sanitization | Bug reports, feature requests, I&T bugs, security vulnerabilities |
60
56
61
-
See [release-notes/SKILL.md](release-notes/SKILL.md)for detailed documentation.
57
+
**Total Skills:** 2 production-ready skills for PDS workflows
62
58
63
59
## Installation
64
60
@@ -154,39 +150,43 @@ claude "Generate release notes for NASA-PDS/doi-service version v1.6.0"
154
150
155
151
Claude analyzes your request, identifies that the release-notes skill is relevant, and executes it autonomously.
0 commit comments