grammy-jiang/subagent-factory/api-design-and-lifecycle-governance
Claude Code and agent skill by grammy-jiang/subagent-factory
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install grammy-jiang/subagent-factory/api-design-and-lifecycle-governanceSKILL.md
The same SKILL.md was published earlier as grammy-jiang/subagent-factory/api-design-and-lifecycle-governance.
Api Design And Lifecycle Governance
Govern the API across its lifecycle and layer its controls. This skill packages 7 grounded principles the application-security-reviewer applies when this surface is in scope. Each finding names the weakness, the attack it enables, the countermeasure, and the trade-off or residual risk.
When this applies
- One user grants another user access to API-controlled data or physical device functionality.
- Classifying an API by intended audience and data sensitivity.
- Reviewing API implementation code, upload endpoints, or error responses.
- Migrating APIs to cloud infrastructure or adopting newer distributed architectures.
- Migrating existing APIs into cloud environments.
- Selecting API security mechanisms or user/group provisioning patterns.
- Selecting among private, public, and partner API models.
- Evaluating whether an API security design is sufficient.
Procedure
Apply the principles below in order of the risk they carry, highest first. For each one in scope: identify where untrusted data or an access decision enters, name the attack it enables, apply the countermeasure, and state the trade-off or residual risk. Never weaken a defence below what the source supports, and never present a single control as complete security.
- P017 (medium confidence). For user-to-user sharing of connected-device access, do not rely on ordinary OAuth alone; use an added identity layer such as OpenID Connect to represent the resource owner, delegate, and scopes.
- P019 (medium confidence). Favor private or partner API models for sensitive personal data or secure systems, and reserve public exposure for open data that does not connect to confidential systems.
- P020 (medium confidence). Reject just-enough API code: validate inputs, prevent unsafe file upload behavior, avoid overbroad storage paths, handle errors safely, and suppress raw implementation diagnostics from external callers.
- P026 (medium confidence). Reassess security assumptions when adopting microservices, API-management changes, or cloud infrastructure, including decentralization, physical control loss, backups, file security, and possible co-residency risks.
- P033 (medium confidence). Prefer peer-reviewed, proven security standards and products over bespoke mechanisms, combining protocols such as OAuth, OpenID Connect, SCIM, JWT, strong second factors, and policy systems as the use case requires.
- P037 (medium confidence). Choose API licensing and availability at the start of the lifecycle, matching exposure to the API purpose, data sensitivity, business model, upkeep capacity, and monetization goals.
- P049 (medium confidence). Do not present API keys, OAuth adoption, or any single control as complete API security; require layered controls across enterprise, mobile, network, and API surfaces.
Anti-patterns to flag
- Trusting client-supplied data, or relying on a blacklist where a whitelist is possible.
- Leaving untrusted input un-parameterized, un-encoded, or rendered into a script/DOM sink.
- Presenting one control (a key, one flow, one header check) as complete security.
- Omitting the attack a control defends, its trade-off, or the residual risk.
Grounding
Principles: P017, P019, P020, P026, P033, P037, P049. Every cited claim, evidence record, and source anchor resolves in this package's distilled spine (analysis/claims.jsonl, evidence/evidence- records.yaml, sources/anchors/). Sources are distillation-only: paraphrased, never quoted.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsubagents/application-security-reviewer/skills/api-design-and-lifecycle-governance/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/grammy-jiang/subagent-factory/api-design-and-lifecycle-governance)