Skip to content
Agentmart
Submit a tool

td-java-coding-guidelines

Use when writing or reviewing Java code involving Tongdun/Alibaba Java rules, exceptions, logging, SQL/MyBatis, security, middleware, concurrency, virtual…

Skill by funky-eyes

IndexedApache-2.0★ 12
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/funky-eyes-td-java-coding-guidelines

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when writing or reviewing Java code involving Tongdun/Alibaba Java rules, exceptions, logging, SQL/MyBatis, security, middleware, concurrency, virtual threads, JVM JIT performance, or project layering.

Use cases: backend, security, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/td-java-coding-guidelines

What's inside

Skill name
td-java-coding-guidelines
Description
Use when writing or reviewing Java code involving Tongdun/Alibaba Java rules, exceptions, logging, SQL/MyBatis, security, middleware, concurrency, virtual threads, JVM JIT performance, or project layering.
License
Apache-2.0
Instructions
77 lines in SKILL.md · view on GitHub

Files (9)

  • SKILL.md
  • exception-and-logs.md · references/
  • jvm-jit-performance-specification.md · references/
  • middleware-framework-specification.md · references/
  • mysql-rules.md · references/
  • programming-specification.md · references/
  • project-specification.md · references/
  • security-specification.md · references/
  • virtual-thread-specification.md · references/

SKILL.md (first lines)

# TONGDUN Java Development Guidelines

This skill provides Java coding guidance based on [Alibaba Java Coding Guidelines](https://alibaba.github.io/Alibaba-Java-Coding-Guidelines/).

Guideline severity has three levels:

- **[Mandatory]**: must be followed.
- **[Recommended]**: should be followed when practical.
- **[For Reference]**: useful guidance and background.

## 1. Programming Specification

Covers naming style, constants, code formatting, OOP rules, collections, concurrency, control statements, and comments.

**Detailed rules:** read [references/programming-specification.md](references/programming-specification.md).

## 2. Exceptions And Logs

Covers exception handling and logging rules.

**Detailed rules:** read [references/exception-and-logs.md](references/exception-and-logs.md).

## 3. MySQL Rules

Covers table design, indexes, SQL, and ORM mapping rules.

**Detailed rules:** read [references/mysql-rules.md](references/mysql-rules.md).

## 4. Project Specification

Covers application layering, second-party library dependencies, and server configuration.

**Detailed rules:** read [references/project-specification.md](references/project-specification.md).

## 5. Security Specification

Covers permission checks, data masking, SQL injection prevention, CSRF protection, and related security rules.

**Detailed rules:** read [references/security-specification.md](references/security-specification.md).

## Middleware And Framework Specification

Covers dedicated rules for Dubbo, Kafka, ZooKeeper/Curator, InfluxDB, APEXDB, and HBase.

**Detailed rules:** read [references/middleware-framework-specification.md](references/middleware-framework-specification.md).

### Spring Database Transaction Rules

Database transaction rules are included in the MySQL rules.

**Detailed rules:** read [references/mysql-rules.md](references/mysql-rules.md).

### JDK 21 Virtual Thread Rules

Covers pinning prevention, third-party library compatibility checks, ThreadLocal buffer hazards, thread-pool configuration, and virtual-thread-specific constraints.

**Detailed rules:** read [references/virtual-thread-specification.md](references/virtual-thread-specification.md).

### JVM JIT Performance Rules

Covers HotSpot C2 / Graal JIT-friendly code for method inlining, escape analysis, scalar replacement, lock elimination/coarsening, devirtualization, loop optimization, bounds-check elimination, and branch prediction.

**Detailed rules:** read [references/jvm-jit-performance-specification.md](references/jvm-jit-performance-specification.md).

## How To Use

1. **When writing or reviewing code:** read `references/programming-specification.md`.
2. **When handling exceptions, logs, or comments:** read `references/exception-and-logs.md`.
3. **When database access, SQL, MyBatis, or Spring transaction rules are involved:** read `references/mysql-rules.md`.
4. **When designing project architecture:** read `references/project-specification.md`.
5. **When security-related functionality is involved:** read `references/security-specification.md`.
6. **When Dubbo, Kafka, ZooKeeper, HBase, APEXDB, or similar middleware is involved:** read `references/middleware-framework-specification.md`.
7. **When transactions or JDK 21 virtual threads are involved:** read `references/mysql-rules.md` and `references/virtual-thread-specification.md`.
   - If the code path mentions `ThreadLocal`, per-thread buffers/caches, Aerospike-client, fastjson, legacy JDBC drivers, serialization clients, or other old blocking clients, apply the virtual-thread third-party compatibility checklist before writing code. Do not default to `Executors.newVirtualThreadPerTaskExecutor()` until the reference rules say it is safe.
8. **When performance-sensitive Java code or hot paths are involved:** read `references/jvm-jit-performance-specification.md`.

From funky-eyes/best-copilot, Apache-2.0.

More from funky-eyes/best-copilot

Signals

Stars
12
Forks
1
Open issues
0
Last commit (this folder)
Jul 8, 2026 (3 months ago)
Last release
Aug 3, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from funky-eyes

Cite this page

td-java-coding-guidelines skill. Agent Mart. https://agentmart.dev/skills/funky-eyes-td-java-coding-guidelines (last updated 2026-10-24)