Create Service — for Claude Code Create Service, tessera, community, for Claude Code, ide skills, ## Directory Structure, ## Template: package.json, Create, Service, Generate

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need create service skill. 本地化技能摘要: Persistent codebase memory for Claude Code — open source MCP server # Create Service Skill Generate a new service that follows our architecture patterns.

功能特性

Create Service Skill
Generate a new service that follows our architecture patterns.
┌─────────────────────────────────────────────────────────────┐
├─────────────────────────────────────────────────────────────┤
│ ┌───────────────────────────────────────────────────────┐ │

# 核心主题

dr-code dr-code
[0]
[0]
更新于: 4/18/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 8/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
8/11
Quality Score
49
Canonical Locale
en
Detected Body Locale
en

适用场景: Ideal for AI agents that need create service skill. 本地化技能摘要: Persistent codebase memory for Claude Code — open source MCP server # Create Service Skill Generate a new service that follows our architecture patterns.

核心价值

推荐说明: Create Service helps agents create service skill. Persistent codebase memory for Claude Code — open source MCP server # Create Service Skill Generate a new service that follows our architecture patterns.

适用 Agent 类型

适用场景: Ideal for AI agents that need create service skill.

赋予的主要能力 · Create Service

适用任务: Applying Create Service Skill
适用任务: Applying Generate a new service that follows our architecture patterns
适用任务: Applying ┌─────────────────────────────────────────────────────────────┐

! 使用限制与门槛

  • 限制说明: │ ├── server.ts # Entry point — routes only
  • 限制说明: Requires repository-specific context from the skill documentation
  • 限制说明: Works best when the underlying tools and dependencies are already configured

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

Create Service 是什么?

适用场景: Ideal for AI agents that need create service skill. 本地化技能摘要: Persistent codebase memory for Claude Code — open source MCP server # Create Service Skill Generate a new service that follows our architecture patterns.

如何安装 Create Service?

运行命令:npx killer-skills add dr-code/tessera/Create Service。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

Create Service 适用于哪些场景?

典型场景包括:适用任务: Applying Create Service Skill、适用任务: Applying Generate a new service that follows our architecture patterns、适用任务: Applying ┌─────────────────────────────────────────────────────────────┐。

Create Service 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

Create Service 有哪些限制?

限制说明: │ ├── server.ts # Entry point — routes only;限制说明: Requires repository-specific context from the skill documentation;限制说明: Works best when the underlying tools and dependencies are already configured。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add dr-code/tessera/Create Service。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    Create Service 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

Create Service

Persistent codebase memory for Claude Code — open source MCP server # Create Service Skill Generate a new service that follows our architecture patterns.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Create Service Skill

Generate a new service that follows our architecture patterns.

Architecture

┌─────────────────────────────────────────────────────────────┐
│                       YOUR SERVICE                           │
├─────────────────────────────────────────────────────────────┤
│  ┌───────────────────────────────────────────────────────┐  │
│  │              SERVER (server.ts)                        │  │
│  │  - Express/Fastify entry point                        │  │
│  │  - Defines routes                                     │  │
│  │  - NEVER contains business logic                      │  │
│  └───────────────────────────────────────────────────────┘  │
│                            │                                 │
│                            ▼                                 │
│  ┌───────────────────────────────────────────────────────┐  │
│  │                HANDLERS (handlers/)                    │  │
│  │  - Business logic lives here                          │  │
│  │  - One file per domain                                │  │
│  └───────────────────────────────────────────────────────┘  │
│                            │                                 │
│                            ▼                                 │
│  ┌───────────────────────────────────────────────────────┐  │
│  │                ADAPTERS (adapters/)                    │  │
│  │  - External service wrappers                          │  │
│  │  - Database, APIs, etc.                               │  │
│  └───────────────────────────────────────────────────────┘  │
└─────────────────────────────────────────────────────────────┘

Directory Structure

packages/{name}/
├── src/
│   ├── server.ts        # Entry point — routes only
│   ├── handlers/        # Business logic
│   │   └── index.ts
│   ├── adapters/        # External service wrappers
│   │   └── index.ts
│   └── types.ts         # TypeScript types
├── tests/
│   └── handlers.test.ts
├── package.json
├── tsconfig.json
└── AGENTS.md            # Service-specific instructions

Template: package.json

json
1{ 2 "name": "@project/{name}", 3 "version": "1.0.0", 4 "type": "module", 5 "scripts": { 6 "build": "tsc", 7 "dev": "tsx watch src/server.ts", 8 "start": "node dist/server.js", 9 "test": "vitest run" 10 }, 11 "dependencies": { 12 "express": "^4.21.0" 13 }, 14 "devDependencies": { 15 "tsx": "^4.0.0", 16 "typescript": "^5.7.0", 17 "vitest": "^3.0.0", 18 "@types/express": "^5.0.0" 19 } 20}

Template: src/server.ts

typescript
1import express from 'express'; 2import { handlers } from './handlers/index.js'; 3 4const app = express(); 5const PORT = process.env.PORT || 3000; 6 7app.use(express.json()); 8 9// Health check 10app.get('/health', (_req, res) => { 11 res.json({ status: 'ok', service: '{name}' }); 12}); 13 14// Routes — delegate to handlers (NEVER put logic here) 15app.post('/api/v1/:action', handlers.handleAction); 16 17// Unhandled rejection handler 18process.on('unhandledRejection', (reason, promise) => { 19 console.error('Unhandled Rejection:', reason); 20 process.exit(1); 21}); 22 23// Uncaught exception handler 24process.on('uncaughtException', (error) => { 25 console.error('Uncaught Exception:', error); 26 process.exit(1); 27}); 28 29app.listen(PORT, () => { 30 console.log(`{name} running on port ${PORT}`); 31});

Template: src/types.ts

typescript
1export interface ServiceConfig { 2 port: number; 3 name: string; 4 environment: 'development' | 'staging' | 'production'; 5} 6 7// Add your domain types here

Template: tsconfig.json

json
1{ 2 "compilerOptions": { 3 "target": "ES2022", 4 "module": "ESNext", 5 "moduleResolution": "bundler", 6 "outDir": "dist", 7 "rootDir": "src", 8 "strict": true, 9 "esModuleInterop": true, 10 "skipLibCheck": true, 11 "declaration": true 12 }, 13 "include": ["src/**/*"], 14 "exclude": ["node_modules", "dist", "tests"] 15}

Auto-Branch (if on main)

Before scaffolding a new service, check the current branch:

bash
1git branch --show-current

Default behavior (auto_branch = true in Codex-mastery-project.conf):

  • If on main or master: automatically create a feature branch and switch to it:
    bash
    1git checkout -b feat/<service-name>
    Report: "Created branch feat/<service-name> — main stays untouched."
  • If already on a feature branch: proceed
  • If not a git repo: skip this check

To disable: Set auto_branch = false in Codex-mastery-project.conf. When disabled, warn and ask the user before proceeding on main.

After Creating — Checklist

  • Directory structure matches template
  • package.json has correct scripts
  • TypeScript strict mode enabled
  • Entry point has unhandledRejection AND uncaughtException handlers
  • All routes use /api/v1/ prefix
  • Business logic in handlers/ (not server.ts)
  • No file exceeds 300 lines
  • Port assigned in root AGENTS.md port table
  • Service added to docs/ARCHITECTURE.md
  • Basic test file created
  • .dockerignore created (if using Docker)

RuleCatch Report

After the service is scaffolded, check RuleCatch:

  • If the RuleCatch MCP server is available: query for violations in the new service files
  • Report any violations found
  • If no MCP: suggest checking the RuleCatch dashboard

相关技能

寻找 Create Service 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

本地化技能摘要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

本地化技能摘要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

本地化技能摘要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

本地化技能摘要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具