Chalk Labs
Need help deploying api-patterns?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ashrafmusa-api-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
api-patterns- Description
- API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.
- License
- MIT
- Allowed tools
- Read,, Write,, Edit,, Glob,, Grep
- Instructions
- 77 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (12)
- SKILL.md
- api-style.md
- auth.md
- documentation.md
- graphql.md
- rate-limiting.md
- response.md
- rest.md
- api_validator.py · scripts/
- security-testing.md
- trpc.md
- versioning.md
SKILL.md (first lines)
# API Patterns > API design principles and decision-making for 2025. > **Learn to THINK, not copy fixed patterns.** ## 🎯 Selective Reading Rule **Read ONLY files relevant to the request!** Check the content map, find what you need. --- ## 📑 Content Map | File | Description | When to Read | |------|-------------|--------------| | `api-style.md` | REST vs GraphQL vs tRPC decision tree | Choosing API type | | `rest.md` | Resource naming, HTTP methods, status codes | Designing REST API | | `response.md` | Envelope pattern, error format, pagination | Response structure | | `graphql.md` | Schema design, when to use, security | Considering GraphQL | | `trpc.md` | TypeScript monorepo, type safety | TS fullstack projects | | `versioning.md` | URI/Header/Query versioning | API evolution planning | | `auth.md` | JWT, OAuth, Passkey, API Keys | Auth pattern selection | | `rate-limiting.md` | Token bucket, sliding window | API protection | | `documentation.md` | OpenAPI/Swagger best practices | Documentation | | `security-testing.md` | OWASP API Top 10, auth/authz testing | Security audits | --- ## 🔗 Related Skills | Need | Skill | |------|-------| | API implementation | `@[skills/backend-development]` | | Data structure | `@[skills/database-design]` | | Security details | `@[skills/security-hardening]` | --- ## ✅ Decision Checklist Before designing an API: - [ ] **Asked user about API consumers?** - [ ] **Chosen API style for THIS context?** (REST/GraphQL/tRPC) - [ ] **Defined consistent response format?** - [ ] **Planned versioning strategy?** - [ ] **Considered authentication needs?** - [ ] **Planned rate limiting?** - [ ] **Documentation approach defined?** --- ## ❌ Anti-Patterns **DON'T:** - Default to REST for everything - Use verbs in REST endpoints (/getUsers) - Return inconsistent response formats - Expose internal errors to clients - Skip rate limiting **DO:** - Choose API style based on context - Ask about client requirements - Document thoroughly - Use appropriate status codes --- ## Script | Script | Purpose | Command | |--------|---------|---------| | `scripts/api_validator.py` | API endpoint validation | `python scripts/api_validator.py <project_path>` |
From ashrafmusa/agenticana, MIT.
More from ashrafmusa/agenticana
- 0.448score
frontend-design
ashrafmusa
Design thinking and decision-making for web UI.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
brainstorming
ashrafmusa
Socratic questioning protocol + user communication.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
intelligent-routing
ashrafmusa
Automatic agent selection and intelligent task routing.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
game-development
ashrafmusa
Game development orchestrator.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
mcp-builder
ashrafmusa
MCP (Model Context Protocol) server building principles.
SkillDFreshness: D★ 2Claude Code +9 - 0.234score
lint-and-validate
ashrafmusa
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9 - 0.231score
exchange-manager
ashrafmusa
No description from the publisher yet.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 1, 2026 (8 months ago)
- Last release
- Mar 1, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ashrafmusa/agenticana
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.659score
api-patterns
sickn33
API design principles and decision-making.
SkillAFreshness: A★ 48.4KClaude Code +9 - 0.389score
api-patterns
VoDaiLocz
API design principles and decision-making.
SkillAFreshness: A★ 28Claude Code +9 - 0.297score
api-patterns
Manas8114
API design principles and decision-making.
SkillCFreshness: C★ 1Claude Code +9 - 0.292score
api-patterns
alexander-kastil
API design principles and decision-making.
SkillDFreshness: D★ 19Claude Code +9 - 0.290score
api-patterns
roadsidedev
API design principles and decision-making.
SkillDFreshness: D★ 20Claude Code +9 - 0.285score
api-patterns
jiho00seo-dev
API design principles and decision-making.
SkillDFreshness: D★ 10Claude Code +9 - 0.282score
api-patterns
scaleto
API design principles and decision-making.
SkillDFreshness: D★ 8Claude Code +9 - 0.279score
api-patterns
Durannd
API design principles and decision-making.
SkillCFreshness: CClaude Code +9 - 0.275score
api-patterns
AxelMrak
API design principles and decision-making.
SkillDFreshness: D★ 5Claude Code +9 - 0.269score
api-patterns
automacoescomerciaisintegradas
API design principles and decision-making.
SkillCFreshness: CClaude Code +9 - 0.256score
api-patterns
danstrem2
API design principles and decision-making.
SkillDFreshness: D★ 1Claude Code +9 - 0.245score
api-patterns
yunaamelia
API design principles and decision-making.
SkillDFreshness: DClaude Code +9
More from ashrafmusa
- 0.448score
frontend-design
ashrafmusa
Design thinking and decision-making for web UI.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
brainstorming
ashrafmusa
Socratic questioning protocol + user communication.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
intelligent-routing
ashrafmusa
Automatic agent selection and intelligent task routing.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
game-development
ashrafmusa
Game development orchestrator.
SkillDFreshness: D★ 2Claude Code +9 - 0.436score
mcp-builder
ashrafmusa
MCP (Model Context Protocol) server building principles.
SkillDFreshness: D★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get api-patterns running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
api-patterns skill. Agent Mart. https://agentmart.dev/skills/ashrafmusa-api-patterns (last updated 2026-10-24)