plugins/pm-engineering/skills/service-catalog-entry/SKILL.md
Write a service catalog entry for a microservice or internal platform service — covering service identity, purpose, architecture context, SLAs, API contract summary, data classification, dependencies, operational runbooks, and known limitations. Use when asked to document a service for an internal developer portal, write a service README for a platform catalog, create a service overview page, or onboard a new service to a service registry. Produces a complete service catalog entry suitable for an internal developer portal or wiki.
npx skillsauth add mohitagw15856/pm-claude-skills service-catalog-entryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Produce a complete service catalog entry for a microservice or internal platform service — giving any engineer at the company the context they need to understand what the service does, how to depend on it, what its reliability characteristics are, and where to go when something goes wrong. A well-written catalog entry eliminates "who owns this?" and "is this safe to use?" questions that slow down teams depending on shared services.
Ask for these if not already provided:
[One sentence — what this service does for consumers, in plain language]
e.g. "The Payments Service processes charge, refund, and subscription billing events for all Acme products."
| Field | Value |
|---|---|
| Service name | [service-name] |
| Canonical repository | [https://github.com/[org]/[repo]] |
| Owner team | [Team name] |
| Tech lead | [Name] ([Slack: @handle]) |
| On-call rotation | [PagerDuty service link] |
| Slack channel | #[team-channel] |
| Support tier | [Tier 1 — 24/7 / Tier 2 — business hours / Tier 3 — best effort] |
| Status | [Active / Deprecated / Sunset date: YYYY-MM-DD] |
| Language / runtime | [e.g. Go 1.22 / Python 3.12 / Node 20] |
| Deployment platform | [Kubernetes / ECS / Lambda / etc.] |
| Environments | [Production: URL] | [Staging: URL] | [Dev: URL] |
[Two to three paragraphs in plain language — no jargon or acronyms without explanation.]
[Paragraph 1: The business problem this service solves. What would break or be missing if this service did not exist?]
[Paragraph 2: How it works at a high level — the main processing model (e.g. request/response API, event-driven consumer, batch processor), what triggers it, and what it produces.]
[Paragraph 3: What this service is NOT responsible for — the explicit boundaries. This prevents other teams from building incorrect assumptions about scope.]
[Upstream callers] [This Service] [Downstream dependencies]
[Web App] ──────────→ ──→ [Primary Database — PostgreSQL]
[Mobile API] ────────→ [Service Name] ──→ [Cache — Redis]
[Partner API] ────────→ (Port 8080/gRPC) ──→ [Message Queue — Kafka/SQS]
──→ [External Service / API]
↓ emits events to
[Event Bus / SNS]
↓ consumed by
[Downstream Service A]
[Downstream Service B]
| Caller | How they use it | Contact | |---|---|---| | [Service / Team A] | [e.g. "Calls POST /charges to initiate payments"] | [Slack: #team-a] | | [Service / Team B] | [e.g. "Subscribes to payment.completed events via Kafka topic"] | [Slack: #team-b] | | [Service / Team C] | [e.g. "Calls GET /subscriptions for billing status"] | [Slack: #team-c] |
| Dependency | Type | Criticality | Their on-call | |---|---|---|---| | [PostgreSQL instance] | Database | Critical — all writes fail without it | [DBA team: #db-oncall] | | [Redis cluster] | Cache | High — latency degrades without it | [Infra team: #infra-oncall] | | [Kafka cluster] | Message queue | High — async events queue | [Infra team: #infra-oncall] | | [Stripe API] | External API | Critical — payment processing fails | [vendor status: status.stripe.com] | | [Auth Service] | Internal service | Critical — all auth fails | [Auth team: #auth-oncall] |
| SLO | Target | Measurement window | Error budget | |---|---|---|---| | Availability | [99.9%] | Rolling 30 days | [43 min/month] | | p50 latency (key endpoints) | < [50] ms | Rolling 24 hours | — | | p99 latency (key endpoints) | < [500] ms | Rolling 24 hours | — | | p99.9 latency (key endpoints) | < [2000] ms | Rolling 24 hours | — | | Error rate | < [0.1]% | Rolling 1 hour | — |
SLO dashboard: [Link to monitoring dashboard] Current error budget remaining: [Link to SLO dashboard or inline value]
| Tier | Scope | Response time | Resolution time | |---|---|---|---| | P1 — Service down | All authenticated requests failing | 15 minutes | 1 hour | | P2 — Significant degradation | Error rate >1% or p99 >2× SLO | 30 minutes | 4 hours | | P3 — Minor issues | Non-critical endpoints degraded | Next business day | 3 business days | | Feature requests / bugs | Via standard ticket process | [Ticket SLA] | Per roadmap |
To raise an incident: Page via [PagerDuty service link] or post in #incidents.
To raise a feature request or bug: File a ticket in [JIRA project / GitHub repo Issues].
All API calls require: [e.g. "Bearer token via Authorization header. Tokens are issued by the Auth Service (/api/v1/token)"]
Authorization: Bearer [jwt-token]
Content-Type: application/json
| Environment | Base URL |
|---|---|
| Production | https://[service-name].internal.[company].com |
| Staging | https://[service-name].staging.[company].com |
| Local development | http://localhost:[port] |
| Method | Path | Description | Auth required | Rate limit |
|---|---|---|---|---|
| GET | /health | Liveness and readiness check | No | None |
| GET | /api/v1/[resource] | [Description — e.g. "List resources for the authenticated user"] | Yes | [100 req/min] |
| GET | /api/v1/[resource]/:id | [Description — e.g. "Get a single resource by ID"] | Yes | [500 req/min] |
| POST | /api/v1/[resource] | [Description — e.g. "Create a new resource"] | Yes | [50 req/min] |
| PUT | /api/v1/[resource]/:id | [Description — e.g. "Update an existing resource"] | Yes | [50 req/min] |
| DELETE | /api/v1/[resource]/:id | [Description] | Yes | [20 req/min] |
Full API documentation: [OpenAPI/Swagger spec URL] | [Postman collection URL]
/api/v1/, /api/v2/)#[team-channel] and emailed to registered consumers{
"error": {
"code": "[ERROR_CODE]",
"message": "[Human-readable description]",
"request_id": "[UUID — include in support tickets]",
"details": {}
}
}
Common error codes:
| HTTP status | Error code | Meaning |
|---|---|---|
| 400 | INVALID_REQUEST | Request body or parameters fail validation |
| 401 | UNAUTHENTICATED | Missing or invalid auth token |
| 403 | FORBIDDEN | Token valid but lacks permission for this resource |
| 404 | NOT_FOUND | Resource does not exist |
| 409 | CONFLICT | Duplicate resource or state conflict |
| 422 | UNPROCESSABLE_ENTITY | Request is valid but violates business rules |
| 429 | RATE_LIMITED | Too many requests — back off and retry |
| 500 | INTERNAL_ERROR | Unexpected server error — include request_id in support ticket |
| 503 | SERVICE_UNAVAILABLE | Downstream dependency unavailable — retry with backoff |
| Event | Topic / Queue | Schema | Published when |
|---|---|---|---|
| [resource].created | [kafka-topic / sns-arn] | [Schema URL] | [When a new resource is created] |
| [resource].updated | [kafka-topic / sns-arn] | [Schema URL] | [When a resource is modified] |
| [resource].deleted | [kafka-topic / sns-arn] | [Schema URL] | [When a resource is deleted] |
| Data element | Sensitivity | Stored in | Retention | Encrypted at rest |
|---|---|---|---|---|
| [User PII — e.g. email, name] | [PII / Restricted] | [PostgreSQL users table] | [Until account deletion] | Yes |
| [Financial data — e.g. card last 4] | [PCI / Highly restricted] | [PostgreSQL payment_methods table] | [7 years per regulations] | Yes — field-level encryption |
| [Operational logs] | [Internal] | [CloudWatch / Datadog] | [90 days] | Yes (at rest, not searched) |
| [Anonymised analytics] | [Public] | [Data warehouse] | [Indefinite] | Yes |
Data residency: [e.g. "All data stored in us-east-1. EU customer data stored in eu-west-1 per GDPR requirements."] Compliance scope: [e.g. SOC 2 Type II / PCI DSS Level 2 / HIPAA / GDPR] Data access policy: [e.g. "Production database access requires [approval process]. Access logged and reviewed quarterly."]
| Runbook | Location | Use when | |---|---|---| | On-call runbook | [Wiki / GitHub link] | Responding to PagerDuty alerts | | Deployment runbook | [Wiki / GitHub link] | Deploying a new version to production | | Database migration runbook | [Wiki / GitHub link] | Running schema migrations | | Rollback runbook | [Wiki / GitHub link] | Rolling back a bad deploy | | Incident response runbook | [Wiki / GitHub link] | Declaring and managing incidents | | Disaster recovery plan | [Wiki / GitHub link] | Zone/region failure or data loss |
Monitoring dashboards:
| Dashboard | Link | Use it for | |---|---|---| | Service overview | [Datadog / Grafana link] | Error rate, latency, throughput | | Infrastructure | [Link] | CPU, memory, pod health | | Database | [Link] | Query performance, connection pool | | SLO / error budget | [Link] | Budget burn rate, availability | | Dependency health | [Link] | Upstream dependency status |
Document limitations honestly — this section prevents other teams from building on incorrect assumptions.
| Limitation | Impact | Workaround | Planned fix |
|---|---|---|---|
| [e.g. No bulk write API — items must be created one at a time] | [Slow for large imports — N HTTP calls required] | [Use the batch import CLI tool for >100 items] | [Bulk API in Q3 — ticket: [URL]] |
| [e.g. List endpoints have a maximum page size of 100] | [Cannot retrieve more than 100 items in a single call] | [Paginate using cursor parameter] | [No current plan to increase — by design] |
| [e.g. Rate limits are per-token, not per-service] | [High-traffic consumers may hit limits for other consumers on the same token] | [Request dedicated service-account token] | [Per-service rate limits in roadmap] |
| [e.g. Eventual consistency on read-after-write for list endpoints] | [Record may not appear in list immediately after creation (<500ms lag)] | [Use GET /:id to confirm creation; do not rely on list for immediate consistency] | [Read-your-writes consistency available via ?consistent=true — in progress] |
To start using this service:
https://[service-name].sandbox.[company].com#[service-name]-consumersClient libraries (if available):
| Language | Package | Installation |
|---|---|---|
| [Python] | [[package-name]] | pip install [package-name] |
| [Go] | [github.com/[org]/[package]] | go get github.com/[org]/[package] |
| [TypeScript/JS] | [@[org]/[package]] | npm install @[org]/[package] |
development
Build a framework for creating shareable, high-reach social media content. Use when asked to plan viral content, develop a shareable content strategy, create a hook writing system, or build a repeatable process for content that gets shared. Produces a platform-specific viral content framework with hook formulas, content structures, shareability triggers, and a content testing system.
development
Generate article or newsletter thumbnail candidates using the Gemini API from inside Claude Code. Claude reads article copy, proposes composition concepts, writes image generation prompts incorporating brand specs, calls Gemini to generate the images, evaluates the results via computer vision, and returns ranked candidates with rationale. Use when asked to create thumbnails, generate cover images, or produce visual candidates for an article or newsletter.
testing
Flips Claude's default from "find reasons you're right" to "find reasons you're wrong." A genuine thinking partner, not a mirror with grammar. Use before high-stakes decisions, plans, assumptions, or pitches you haven't stress-tested.
development
Scrapes a Substack Notes page and exports engagement data (likes, comments, restacks) to a formatted .xlsx file with conditional formatting and summary stats.