itxaiohanglover/mcp-codestyle-server/codestyle

Claude Code and agent skill by itxaiohanglover/mcp-codestyle-server

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Code template search and generation tool. Auto-initializes on first use. Use when: 1. search/get - user needs code templates, "检索模板", "search template" 2. generate - user wants to create template from code/file/repo/url, "生成模板" 3. upload - user has prepared template files, "上传模板" Requirements: JDK 17+, Git (for first-time setup)

Install

npx vskill@latest install itxaiohanglover/mcp-codestyle-server/codestyle

SKILL.md

Codestyle

Code template management: CLI tools for search/get/upload + AI-guided generation.

Decision Tree

User request
│
├─ "search" / "检索" ──→ Search Workflow (CLI, local+remote)
│
├─ "get" / "获取" ──→ Get Workflow (CLI, local+remote)
│
├─ "generate" / "生成" ──→ Generate Workflow (AI dialog, then upload)
│
└─ "upload" / "上传" ──→ Upload Workflow (CLI, remote)

Commands

CommandExecutionDescription
searchCLI (JAR)Search templates (local Lucene + remote API)
getCLI (JAR)Get full template content
generateAI DialogMulti-turn conversation, then call upload
uploadCLI (JAR)Upload template to server

Quick Start

Windows
bash
"<SKILL_DIR>\scripts\codestyle.bat" search "keyword"
"<SKILL_DIR>\scripts\codestyle.bat" get "template-path"
"<SKILL_DIR>\scripts\codestyle.bat" upload --path ./my-template
Linux/macOS
bash
bash <SKILL_DIR>/scripts/codestyle search "keyword"
bash <SKILL_DIR>/scripts/codestyle get "template-path"
bash <SKILL_DIR>/scripts/codestyle upload --path ./my-template
Generate (AI Dialog)
User: 把这段代码做成模板:[代码]
AI: [多轮对话引导生成模板]
AI: [调用 upload 存储]

Workflows

See references/ for detailed workflow instructions:

  • [Search Workflow](references/search-workflow.md) - Find templates (local+remote)
  • [Get Workflow](references/get-workflow.md) - Retrieve template content by full path
  • [Generate Workflow](references/generate-workflow.md) - AI-guided template creation
  • [Upload Workflow](references/upload-workflow.md) - Submit templates (remote)
Generate Workflow Overview

Generate workflow is pure AI dialog, no script calls until final upload.

InputExamplePre-processing
Code snippet@RestController ...None
Current file"当前这个文件"Read file
Local path/path/to/file.javaRead file
GitHub URLhttps://github.com/xxx/repoClone repo
Web URLhttps://blog.xxx.com/...Crawl content

Process: 识别输入 → 预处理 → 分析结构 → 选择模板 → AI生成 → 去重检测 → 用户确认 → 调用upload

First-Time Use

Automatic initialization on first command:

  1. Detect no .initialized marker
  2. Download JAR file (if needed)
  3. Clone template repository
  4. Create .initialized marker
  5. Execute original command

Configuration

See references/config.md for configuration options.

Template Format

Directory Structure

Standard template structure with meta.json in version directory:

<artifactId>/
└── <version>/
├── meta.json # Template metadata (required)
├── README.md # Documentation (optional)
└── <subdirectories> # Template files (.ftl)

Example:

CRUD/
└── 1.0.0/
├── meta.json
├── README.md
├── backend/
│ ├── sql/Menu.ftl
│ └── src/main/java/...
└── frontend/
└── src/...

See references/template-format.md for complete format specification.

See references/template-syntax.md for template syntax.

Requirements

  • JDK 17+
  • Git 2.0+ (for first-time setup and repo cloning)
  • Internet connection (for remote API calls)

Security

  • Security scanPassed, 85 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
51
Repository forks
8
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 3 Apr 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/itxaiohanglover/mcp-codestyle-server/codestyle/badge)](https://verified-skill.com/skills/itxaiohanglover/mcp-codestyle-server/codestyle)

Something wrong with this skill or its page? Tell us.