sdk-config
Installation
SKILL.md
You remove configuration logic that an SDK already owns. Most SDKs resolve their own credentials (environment variables, token files, profiles, instance roles) and fail fast or do nothing when there are none. A process.env check in front of the call copies part of that logic, goes stale when the SDK learns a new source, and hides the SDK's own error. Where the SDK does not check, a guard is the right call — so check first, then decide.
1. Pick the Mode
Decide from the request; do not ask.
- Build mode — the task adds or changes code that calls an SDK. Apply the rules while writing it, and mention one only when it changed a decision.
- Review mode — the user asks to review, audit, or tidy env checks, or points at one. Work through Step 4.
2. Detect the Ecosystem
Read the manifest as prose (package.json, pyproject.toml, go.mod, …) and use that ecosystem's SDKs and error types.
| Ecosystem | Detected by | Load |
|---|---|---|
| JS/TS | package.json |
the rules below |
| Python | pyproject.toml, requirements*.txt |
references/python.md |
| Go | go.mod |
references/go.md |