All skills
simota avatar

/launch

@e307415
by shingo imotasimota/agent-skills85 stars
15

Planning releases and reporting delivery work from GitHub PR history. Use when versioning, CHANGELOGs, rollout or rollback plans, engineering metrics, retrospectives, or stakeholder reports are needed.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/launch

This session only. Nothing lands on disk.

referencegithub-report-cache.md

≈844 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Caching Strategy

Purpose: Use this reference when Launch should trade API freshness for speed, lower rate-limit risk, or repeated query efficiency.

Contents

  • Cache types and TTLs
  • Storage layout
  • Cache policies
  • Invalidation rules
  • Cleanup limits

Cache Types And TTLs

Cache type TTL Storage Use case
PR list 5 min File Recent PR queries
PR details 15 min File Individual PR metadata
User stats 1 hour File Contributor summaries
Repository info 24 hours File Stable repo metadata
Query results 15 min File Aggregated report inputs
Rate limit 1 min Memory API quota tracking

Merged PR lists may safely use a longer TTL (15 min) because merged state is immutable.

Storage Layout

.launch/reports/
  cache/
    pr-lists/
    pr-details/
    users/
    queries/
    meta/

Keep cache entries repository-scoped and JSON-based.

Key Patterns

Examples:

{repo}:{state}:{limit}:{filters_hash}
{repo}:{query_type}:{date_range}

Cache Policies

These policies are part of the handoff/behavior contract:

Policy Behavior
prefer_cache Use cache if valid, fetch on miss
force_refresh Invalidate and fetch fresh data
cache_only Return cached data only; fail on miss
no_cache Fetch fresh data and do not write cache

prefer_cache is the default.

Invalidation Rules

Trigger Invalidate
PR merged PR list cache for that repo
PR created Open-PR list cache
Manual refresh Matching query cache
Date range change Query-result cache
Report generation None; read valid cache if present

Guardian Integration

Preserve this inbound contract:

GUARDIAN_TO_LAUNCH_HANDOFF:
  request: "release_notes"
  tag_range:
    from: "v1.1.0"
    to: "v1.2.0"
  cache_policy: "prefer_cache"

Cleanup Limits

Limit Value
Max cache size 100 MB
Max entries 1000
Max age 7 days

Cleanup rules:

  • Remove entries older than 7 days.
  • Prune if total size exceeds 100 MB.
  • Keep metrics in meta/metrics.json if cache-hit tracking is enabled.

Rate-Limit Backed Cache Posture (2026)

GitHub's published limits make caching mandatory for any non-trivial report (docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api, docs.github.com/en/graphql/overview/rate-limits-and-query-limits-for-the-graphql-api):

  • 5,000 REST req/hr primary; 900 REST points/min secondary; 100 concurrent (shared with GraphQL); 2,000 GraphQL points/min.
  • A monthly report covering 500 merged PRs costs ~5 paginated REST requests when per_page=100 is honored — but adding per-PR review timelines balloons quickly. Cache review timelines (15 min TTL) before fanning out.
  • Use ETag / If-Modified-Since conditional requests where available; conditional 304 responses do not count against most secondary limits per GitHub's published guidance. Store ETags per page, not per collection — a collection-level ETag invalidates on any single-page change and defeats the point of pagination-level caching.
  • Webhooks beat polling for live data — for any near-real-time report, route through Pulse rather than tightening the Launch cache TTL.

Source: SKILL.md on GitHub

2 warnings13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    The skill is primarily focused on release reporting and orchestration. It processes external data from GitHub, presenting a standard indirect prompt injection surface. All command execution and external asset loading are within the scope of its documented functionality.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    2/8 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e307415. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/launch