---
name: learnprompt/release-feed-api
source: https://app.decimal.ai/s/learnprompt-release-feed-api@1/SKILL.md
source_sha256: 4639e9359366
---

# release-feed-api

## When to use

Use this skill when the user asks for a read-only release feed check, release summary report, or REST integration example that must keep credentials, retry policy, schema validation, and pagination explicit.

## Required reading

- `references/api-contract.md`

## Workflow

1. Read the request contract.
2. Run:

   ```bash
   node .agents/skills/release-feed-api/scripts/fetch-releases.mjs
   ```

3. Keep the generated reports if the fetch succeeds:
   - `reports/releases.json`
   - `reports/releases.md`
4. Run `npm test`.
5. Return only the JSON object requested by the caller schema.

## Boundaries

- Read the base URL and credential only from `RELEASE_FEED_BASE_URL` and `RELEASE_FEED_TOKEN`.
- Reject any configured method other than `GET` before making a network request.
- Paginate serially. Do not fan out concurrent page fetches.
- If the server returns `429`, obey `Retry-After` before retrying.
- Retry `5xx` responses only up to the configured limit, then fail with exit `43`.
- Do not print credential values or raw authorization headers into reports, logs, or final output.
- Never edit source files outside `reports/`.