From ai-dev-team
Create and maintain technical documentation including technical specifications, API documentation, system architecture docs, and developer guides.
npx claudepluginhub marcel-Ngan/ai-dev-team --plugin ai-dev-teamThis skill uses the workspace's default tool permissions.
Create and maintain technical documentation including technical specifications, API documentation, system architecture docs, and developer guides.
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
Create and maintain technical documentation including technical specifications, API documentation, system architecture docs, and developer guides.
| Tool | Purpose |
|---|---|
Atlassian:createConfluencePage | Create new documentation |
Atlassian:updateConfluencePage | Update existing docs |
Atlassian:getConfluencePage | Read current content |
Atlassian:searchConfluenceUsingCql | Find existing docs |
{
"cloudId": "{{confluence.cloudId}}",
"spaceId": "{{confluence.spaceId}}",
"spaceKey": "{{confluence.spaceKey}}",
"parentPages": {
"technical": "{{confluence.parentPages.technical}}"
}
}
# Technical Specification: {{featureName}}
**Version:** 1.0
**Author:** Software Architect Agent
**Created:** {{date}}
**Status:** Draft | In Review | Approved
**Related:** BRD-{{number}} | EPIC-{{number}}
---
## Overview
### Purpose
[What this specification covers]
### Scope
[What is included/excluded]
### Related Documents
- BRD: [Link]
- ADR: [Link]
---
## Architecture
### System Context
[How this fits in the overall system]
### Component Diagram
┌─────────────┐ ┌─────────────┐ │ Client │────►│ API │ └─────────────┘ └──────┬──────┘ │ ┌──────▼──────┐ │ Service │ └──────┬──────┘ │ ┌──────▼──────┐ │ Database │ └─────────────┘
### Data Flow
1. [Step 1]
2. [Step 2]
3. [Step 3]
---
## Technical Design
### Data Model
#### Entity: {{EntityName}}
| Field | Type | Constraints | Description |
|-------|------|-------------|-------------|
| id | UUID | PK | Unique identifier |
| name | string | NOT NULL | |
| created_at | timestamp | NOT NULL | |
### API Design
#### Endpoint: {{method}} {{path}}
**Request:**
```json
{
"field": "value"
}
Response (200):
{
"id": "uuid",
"field": "value"
}
Error Responses:
| Code | Description |
|---|---|
| 400 | Invalid request |
| 401 | Unauthorized |
| 404 | Not found |
| Component | Technology | Rationale |
|---|---|---|
| Backend | ||
| Database | ||
| Cache |
| Setting | Default | Description |
|---|---|---|
| Metric | Target | Measurement |
|---|---|---|
| Response time | <200ms | P95 |
| Throughput | 1000 RPS |
### Create Tech Spec Example
```javascript
Atlassian:createConfluencePage({
cloudId: "{{confluence.cloudId}}",
spaceId: "{{confluence.spaceId}}",
parentId: "{{confluence.parentPages.technical}}",
title: "Tech Spec: User Authentication",
body: `# Technical Specification: User Authentication
**Version:** 1.0
**Author:** Software Architect Agent
**Created:** 2025-01-06
**Status:** Draft
**Related:** BRD-001 | MDDEV-100
---
## Overview
### Purpose
Define the technical implementation for user authentication including registration, login, and session management.
### Scope
- User registration and validation
- Password hashing and storage
- JWT-based authentication
- Session management
---
## Architecture
### Component Diagram
\`\`\`
┌─────────────┐ ┌─────────────┐
│ Client │────►│ Auth API │
└─────────────┘ └──────┬──────┘
│
┌──────▼──────┐
│ Auth Service│
└──────┬──────┘
│
┌──────▼──────┐
│ User DB │
└─────────────┘
\`\`\`
---
## Technical Design
### Data Model
#### Entity: User
| Field | Type | Constraints | Description |
|-------|------|-------------|-------------|
| id | UUID | PK | Unique identifier |
| email | string | UNIQUE, NOT NULL | User email |
| password_hash | string | NOT NULL | Bcrypt hash |
| created_at | timestamp | NOT NULL | Registration date |
### API Design
#### POST /auth/register
**Request:**
\`\`\`json
{
"email": "user@example.com",
"password": "securePassword123"
}
\`\`\`
**Response (201):**
\`\`\`json
{
"id": "uuid",
"email": "user@example.com"
}
\`\`\`
---
## Security Considerations
- Passwords hashed with bcrypt (cost factor 12)
- JWT tokens expire after 24 hours
- Rate limiting on auth endpoints
- HTTPS required
`,
contentFormat: "markdown"
})
# API Documentation: {{serviceName}}
**Base URL:** `{{baseUrl}}`
**Version:** v1
**Last Updated:** {{date}}
---
## Authentication
All endpoints require Bearer token:
Authorization: Bearer
---
## Endpoints
### {{Resource}}
#### List {{Resources}}
`GET /{{resources}}`
**Query Parameters:**
| Param | Type | Required | Description |
|-------|------|----------|-------------|
| page | int | No | Page number |
| limit | int | No | Items per page |
**Response:**
```json
{
"data": [...],
"pagination": {
"page": 1,
"total": 100
}
}
GET /{{resources}}/:id
POST /{{resources}}
PUT /{{resources}}/:id
DELETE /{{resources}}/:id
| Code | Message | Description |
|---|---|---|
| 400 | Bad Request | Invalid input |
| 401 | Unauthorized | Missing/invalid token |
| 403 | Forbidden | Insufficient permissions |
| 404 | Not Found | Resource not found |
| 500 | Server Error | Internal error |
---
## Error Handling
| Error | Cause | Resolution |
|-------|-------|------------|
| 400 Bad Request | Invalid markdown/code blocks | Escape special characters |
| 404 Not Found | Parent page missing | Create parent first |
| 413 Too Large | Document too big | Split into multiple pages |