On this page

Engineering reference · 33 guides

AI Coding Guidelines

Engineering standards for AI coding agents and the people who review their work — covering toolchains, day-to-day practices, library stacks, and platform patterns, organized for fast task-based reading.

Use in your project

Install the skill

Run this in your project directory, then ask your agent to apply these guidelines to your task.

pnpm dlx skills add fang2hou/ai-coding-guidelines@apply-guidelines

Give your agent these instructions

You can also paste these instructions into your AI coding agent without installing the skill.

Apply the guidelines from https://github.com/fang2hou/ai-coding-guidelines for this task.
Start at PORTAL.md and follow its reading recipes.

Start here

Read these two documents before any task.

Reading paths by task

Pick your task and read the linked guidelines in order.

Browse by category

Every guideline, grouped by the part of the stack it governs.

Principles

1 guide

Core maxims behind every rule: fast validation, fewer choices, fixing root causes.

Practices

12 guides

Day-to-day engineering: code style, testing, documentation, dependencies, CI, and security.

Toolchain

9 guides

Standard tools per language ecosystem — identical on your machine and in CI.

Libraries

8 guides

Default frameworks and libraries for web frontends, HTTP APIs, and AI features.

Platforms

3 guides

Design and implementation rules for iOS 27 and macOS 27 Liquid Glass.