Install
$ agentstack add skill-alisinadevelo-md-files-api-design ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
API Design
An interface is a contract: cheap to change before release, expensive after. Optimize for the caller's clarity and your ability to evolve without breaking them.
Foundational principles
- Consistency beats cleverness. Match the conventions already in the codebase —
naming, casing, pagination, error shape, auth. Predictability is usability.
- Least surprise. Correct semantics: GET safe & idempotent, PUT/DELETE idempotent,
POST for non-idempotent creation. Meaningful status codes. Names that mean what they say.
- Design for evolution. On a published contract, only additive change: new optional
fields, never repurposed ones. Version explicitly. In protobuf, never reuse field numbers. Breaking changes are deliberate, announced events.
Errors are first-class
One consistent error envelope across the whole API. Stable machine-readable codes (not just prose), actionable human messages, and correct status mapping (4xx caller, 5xx server). Callers spend more code on errors than on success — design for it.
{ "error": { "code": "insufficient_funds", "message": "Balance 12.00 < charge 30.00", "request_id": "req_abc" } }
Collections
Every list endpoint has pagination (cursor for large/changing sets), filtering, sorting, and a hard limit. No unbounded list endpoints — they're a latency and memory bomb waiting to happen.
Mutation safety
Anything touching money or external state takes an idempotency key so retries are safe. Define what a retry means and make duplicate requests harmless.
Review checklist
Naming consistency · verb/status semantics · uniform error contract · pagination & limits on collections · authn/authz on every route · documented input constraints · backward compatibility · over/under-fetching · nullability clear · rate-limit & timeout behavior · examples in docs.
Anti-patterns
Tunneling everything through POST. Returning 200 with an error body. Booleans that should be enums (no room to grow). Leaking database columns as the API. Breaking changes shipped silently. Inconsistent error shapes per endpoint.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: AlisinaDevelo
- Source: AlisinaDevelo/md-files
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.