跳到正文
FunCoding

coding-style

Apply Candy Browser's project-specific Kotlin, Jetpack Compose, Android/WebView, testing, and generator conventions. Use for any production-code, test, build-script, filter-asset, refactor, review, or bug-fix change in this repository.

Star
689
最近提交
2026年11月29日

.agents/skills/coding-style/SKILL.md

在 GitHub 上查看

Candy Browser coding style

Reference lookup

ChangeReadApply
Ownership, package boundaries, state or side effectsreferences/architecture.mdPut policy, orchestration, UI and storage in their existing seams
Kotlin model, rule, controller, store or repositoryreferences/kotlin.mdFollow official Kotlin style and local type/function patterns
Compose screen, component, theme, motion or gesturereferences/compose.mdHoist behavior, isolate motion math and use Material/theme semantics
JVM or Android instrumented testreferences/testing.mdChoose the lowest valid test layer and mirror package/name
Shell, Python, Node, generated asset or auditreferences/scripts-and-assets.mdKeep generation deterministic, pinned, licensed and testable
Cross-cutting changeAll matching references aboveApply every affected rule set

Workflow lookup

OrderActionCompletion criterion
1Inspect neighboring production code and mirrored testsExisting ownership and naming pattern identified
2Read matching references and official docs for version-sensitive APIsProject convention and framework requirement are distinguished
3Check resolved dependency versions before adding compatibility helpersExisting platform/library primitive is reused when available and contract-compatible
4Implement smallest coherent changeDeterministic policy remains outside Android/Compose wiring where possible
5Run checks routed by AGENTS.mdRelevant checks pass or exact blocker is reported
6Update matching feature docsChanged behavior, invariant, storage or ownership is discoverable

相似的 Skill

rea-analysis-optimization

MOmorluto/rea485k近 7 天新增 7,690 个 star

codebase-design

MAmattpocock/skills336k近 7 天新增 4,217 个 star

精选

diagnosing-bugs

诊断困难 bug 和性能回归,用测试或脚本构建反馈循环定位问题。

MAmattpocock/skills336k近 7 天新增 4,217 个 star

setup-ts-deep-modules

MAmattpocock/skills336k近 7 天新增 4,217 个 star

code-review

MAmattpocock/skills336k近 7 天新增 4,217 个 star

implement

MAmattpocock/skills336k近 7 天新增 4,217 个 star