Back to list
lexicalninja

technical-spec-writer

by lexicalninja

A collection of Cursor subagents and Claude skills to help build things together

0🍴 0📅 Jan 16, 2026

SKILL.md


name: technical-spec-writer description: Creates detailed technical specifications including architecture, data models, APIs, and technology choices. Use when you need to document technical implementation details, system design, or API contracts. Provides concrete technical guidance for implementation.

Technical Specification Writer Skill

Instructions

  1. Analyze requirements and determine technical approach
  2. Design system architecture and components
  3. Define data models and schemas
  4. Specify API contracts (endpoints, request/response formats)
  5. Identify technology stack and libraries
  6. Document integration points and interfaces
  7. Define configuration and deployment requirements
  8. Include code examples and patterns when helpful

Examples

Input: "User authentication system" Output:

## Technical Specifications

### Architecture
- **Pattern**: RESTful API with JWT authentication
- **Framework**: Express.js (Node.js)
- **Database**: PostgreSQL with Prisma ORM
- **Authentication**: JWT tokens stored in HTTP-only cookies

### Data Models

#### User Model
```typescript
{
  id: string (UUID, primary key)
  email: string (unique, indexed)
  passwordHash: string (bcrypt, 60 chars)
  createdAt: DateTime
  updatedAt: DateTime
  emailVerified: boolean
}

PasswordResetToken Model

{
  id: string (UUID, primary key)
  userId: string (foreign key -> User.id)
  token: string (random 32-char hex, indexed)
  expiresAt: DateTime
  used: boolean
  createdAt: DateTime
}

API Endpoints

POST /api/auth/register

Request:

{
  "email": "user@example.com",
  "password": "SecurePass123!"
}

Response (201):

{
  "user": {
    "id": "uuid",
    "email": "user@example.com",
    "emailVerified": false
  }
}

Errors:

  • 400: Invalid email format or weak password
  • 409: Email already exists

POST /api/auth/login

Request:

{
  "email": "user@example.com",
  "password": "SecurePass123!"
}

Response (200):

{
  "user": {
    "id": "uuid",
    "email": "user@example.com"
  },
  "token": "jwt.token.here"
}

Errors:

  • 401: Invalid credentials

Technology Stack

  • Runtime: Node.js 18+
  • Framework: Express.js 4.x
  • Database: PostgreSQL 14+
  • ORM: Prisma 5.x
  • Authentication: jsonwebtoken, bcrypt
  • Validation: zod
  • Testing: Jest, Supertest

Security Considerations

  • Passwords hashed with bcrypt (10+ rounds)
  • JWT tokens expire after 24 hours
  • Password reset tokens expire after 1 hour
  • Rate limiting: 5 requests/minute for auth endpoints
  • CORS configured for specific origins only

## Format Guidelines

- Use clear section headers
- Include code examples for data models and APIs
- Specify exact versions for libraries when important
- Document error responses and status codes
- Include security and performance considerations
- Use standard formats (OpenAPI for APIs, ERD for data models)

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon