Create GitHub issues in NASA-PDS repositories using organizational templates (bug reports, I&T bug reports, feature requests, tasks, vulnerabilities, release themes). Use when user requests to create, file, or submit PDS issues.
This skill creates GitHub issues in NASA-PDS repositories using the official organizational templates. It ensures consistent issue formatting while keeping content clear and concise.
gh) must be installed and authenticatedBefore gathering other information, determine if this is a sub-issue request.
Keywords that indicate a sub-issue relationship:
If a sub-issue relationship is detected:
Parent Issue Identification:
The parent can be specified as:
https://github.com/NASA-PDS/repo/issues/123#123 (current repo) or NASA-PDS/repo#123 (cross-repo)If the parent is ambiguous, search for it:
# Search for potential parent issues by title
gh issue list --repo NASA-PDS/<repo> --search "theme OR epic" --label "theme,Epic" --limit 10
Then confirm with the user which parent issue to use.
Detect Current Repository (if applicable):
If the user is running this skill from within a cloned git repository, automatically detect the repository name:
# Check if in a git repo - try origin first, then upstream
git remote get-url origin 2>/dev/null || git remote get-url upstream 2>/dev/null
If the remote URL matches NASA-PDS/<repo-name>, use that as the default repository.
Edge Cases:
origin first, then fall back to upstream or other NASA-PDS remotesupstream remote pointing to NASA-PDSDetermine Issue Type:
Ask the user what type of issue to create using the AskUserQuestion tool with these options:
Gather Template-Specific Information:
Then gather the required information based on the template type:
For Bug Reports:
<system feature> <is not/does not> <expected behaviour>For I&T Bug Reports:
<system feature> <is not/does not> <expected behaviour>For Feature Requests:
As a <role>, I want to <accomplish>For Tasks:
For Vulnerabilities:
<system feature> <is not/does not> <expected behaviour>For Release Themes:
Use the cached templates in resources/templates/ directory. If templates are not cached, run the caching script first:
cd creating-pds-issues
node scripts/cache-templates.mjs
Fill templates with these guidelines:
Content Style:
Security and Privacy - CRITICAL:
/Users/john/secrets/api-keys.txt → /path/to/file.txt)192.168.1.100 → 10.0.0.1)prod-server-01.internal.nasa.gov → server.example.com)Required Field Examples:
Bug description (good):
When validating a PDS4 label with nested tables, the validator throws a NullPointerException
on line 342 of TableValidator.java. This occurs with labels containing 3+ nested table
definitions.
Bug description (too verbose):
I was working on my project late last night and I noticed that when I tried to validate
my carefully crafted PDS4 label that I had been working on for several days, the system
unexpectedly threw an error. I had been following all the documentation...
[continues for several paragraphs]
Expected behavior (good):
Validator should successfully validate labels with nested tables or provide a clear
error message about nesting limitations.
Reproduction steps (good):
1. Create PDS4 label with 3 nested <Table_Delimited> elements
2. Run: validate my-label.xml
3. Observe NullPointerException in output
Feature motivation (good):
...so that I can validate labels in CI/CD pipelines without manual intervention,
reducing deployment time from hours to minutes.
Sanitization Examples:
Before (UNSAFE - contains sensitive info):
When I run the validator on /Users/alice.johnson/Documents/NASA/mission-data/secret-project/labels/experiment-123.xml
using the API key sk-1234567890abcdef, it fails to connect to the database at