Index of every page on this site: llms.txt
All skills
a2ui-project avatar

/coding-principles

@6bf4cc2
by A2UIa2ui-project/a2ui18k stars
1,430
Run it yourself

Enforces engineering, architecture, public API, and code quality standards distilled from human reviewer feedback across A2UI pull requests. Use when authoring new code, refactoring, addressing review feedback, or reviewing PR diffs. Don't use for release publishing or spec blueprint generation without code or PR changes.

  • 17 files
  • 75.1 KB
  • Updated 2 weeks ago
  • GitHub
Use this Skill: https://skilld.dev/gh/a2ui-project/a2ui/coding-principles

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

subskillsswiftINDEX.md

≈348 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Swift & SwiftUI Progressive Discovery Router

Use this router whenever a pull request or local change modifies Swift or SwiftUI files across swift/ or Package.swift.


Evaluate Swift & SwiftUI Subskill Triggers

Inspect the Swift files in git diff main --stat and read the matching documents below:

1. Swift Architecture, Coding Standards, Testing & Verification

  • Document: coding-standards-and-testing.md
  • Activate if:
    • Any *.swift file or Package.swift is added, modified, or refactored.
    • Implementing features or modifying state logic in A2UIJSON, A2UICore, or BasicCatalog.
    • Creating or updating SwiftUI views in A2UISwiftUI, BasicCatalogSwiftUI, or A2UISampleClient.
    • Writing or updating unit tests using the Swift Testing framework (@Test, #expect, try #require).
    • Running swift-format, swift test, or swift build.

2. Swift Package Changelog (swift/CHANGELOG.md)

  • Skill: update-changelog
  • Activate if:
    • swift/CHANGELOG.md or Package.swift products, dependencies, or platform minimums are modified.
    • Any public API or consumer-observable behavior changes in A2UIJSON, A2UICore, BasicCatalog, A2UISwiftUI, or BasicCatalogSwiftUI (exclude changes confined to swift/sample/ or test targets).

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 6bf4cc2. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
metadata
{
  "internal": true
}

README badge

README badge for a2ui-project/a2ui/coding-principles