code-conventions

Enforce Java and TypeScript coding, logging, and testing standards.

4.9k|780|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/iflytek/skillhub --skill code-conventions-iflytek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-conventions
Source: https://github.com/iflytek/skillhub/tree/main/.agents/skills/code-conventions
Command: npx skills add https://github.com/iflytek/skillhub --skill code-conventions-iflytek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures consistency and readability in codebase by providing conventions for coding style, logging, and testing.

Core Features & Use Cases

  • Coding Standards: Offers guidelines for Java and TypeScript coding practices.
  • Exception Handling: Defines protocols for user-facing error messages and client input validation.
  • Domain Services: Describes the structure and role of domain services in the SkillHub architecture.
  • Frontend Conventions: Sets rules for TypeScript and React components, data fetching, and state management.
  • Testing Philosophy: Outlines best practices for testing backend and frontend components.

Quick Start

Follow the provided coding conventions when developing or reviewing code for the SkillHub backend (Java) and frontend (TypeScript).

Frequently Asked Questions about code-conventions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What coding standards should I follow for Java and TypeScript development?

Coding standards for Java and TypeScript provide structured guidelines for code style, logging, and testing. They enforce consistency by defining protocols for exception handling, domain services, and frontend development practices to maintain readability across the codebase.

How do I handle exceptions in user-facing error messages and client input validation?

Exception handling for user-facing errors defines protocols for client input validation. It ensures errors are consistently caught and reported, maintaining a structured approach to communicate validation failures back to the client effectively.

What are the best practices for testing backend and frontend components?

Testing philosophy outlines best practices for testing backend and frontend components. It ensures code consistency and maintainability by providing specific testing standards that align with the structured development approach for both Java and TypeScript codebases.

How do I structure domain services in the SkillHub architecture?

Domain services in the SkillHub architecture follow a defined structure and role to ensure maintainability. They describe how to organize business logic consistently, ensuring code adheres to the established coding conventions and architectural standards.

What frontend conventions should I use for React components and state management in TypeScript?

Frontend conventions for TypeScript set rules for React components, data fetching, and state management. They ensure code consistency and maintainability across the ecosystem by providing a structured approach to frontend development practices.