2.5 KiB
2.5 KiB
简体中文 · English
Development Guidelines
This directory contains AI Passport engineering rules and reusable workflows, grouped by purpose: the AI-assisted development workflow (ai-guide.md), engineering conventions (engineering/), CI documents (ci/), and the release/completion flow (release/). Rules should identify their trigger, required action, prohibited action, validation, and exceptions. Hardware facts belong in docs/hardware-design/; automatable requirements must also be enforced by tooling or CI.
AI workflow
- ai-guide.md: AI-assisted development workflow.
- Core AI skills: development, setup, build, device testing, and diagnosis; installation and usage examples.
Engineering
- game-demo-to-device-acceptance.md: shared C/WebAssembly and H5 playtesting, then physical-device acceptance.
- environment-setup.md: clean-machine bootstrap for AI agents, including international and mainland China download routes.
- build-and-test.md: ESP-IDF build and validation.
- firmware-layout.md: default and user-defined partition layouts and merged-artifact validation.
- coding-conventions.md: source-code and resource conventions, including Chinese font integration, blank/boxed text troubleshooting, and display acceptance.
- lvgl-chinese-fonts.md: step-by-step CJK configuration, font generation/linking, fallback examples, glyph checks, and troubleshooting.
- wifi-provisioning.md: Bluetooth-based Wi-Fi setup using the BLUFI reference branch, the companion mini program, and integration checks.
CI
- CI-validation.md: pull-request and main-branch checks.
- CI-build-and-release.md: tagged firmware builds and releases.
- CI-sync-main.md: upstream synchronization for forks.
Release
- publish-to-community.md: publishing firmware to the AI Passport community market.
- project-completion.md: project completion flow — a menu of optional closing actions.
- file-issues.md: filing a suggestion as an upstream GitHub issue.