rule-api-services
CommunityStandardize API service coding for safer apps.
Authorbtabaska
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Editing API service layer code often leads to duplication, inconsistent patterns, and missed guardrails, resulting in fragile services and harder audits.
Core Features & Use Cases
- Enforces a consistent file-per-function organization under api/src/services/{domain}/
- Encourages early extraction of shared logic into _utils.py or service_utils.py to reduce duplication
- Enforces standardized error handling, transaction boundaries, and authorization checks using existing project utilities (raise_flask_error, can_access, verify_access)
Quick Start
Follow these rules when editing or adding API service functions to ensure correct file organization, error handling, and authorization checks.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rule-api-services Download link: https://github.com/btabaska/simpler-grants-documentation-automation/archive/main.zip#rule-api-services Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.