Skip to content

chore: add GitHub skills and instruction files for support-query-builder#427

Merged
wax911 merged 1 commit into
developfrom
copilot/update-skills-and-instruction-files
Apr 10, 2026
Merged

chore: add GitHub skills and instruction files for support-query-builder#427
wax911 merged 1 commit into
developfrom
copilot/update-skills-and-instruction-files

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 10, 2026

Adds structured AI agent guidance (instruction files and skills) to .github/ following the same pattern as AniTrend/support-arch, tailored to this repo's module layout and toolchain.

Instruction files (.github/instructions/)

  • context.instructions.md — Rewritten from the old architecture overview into a dense, heuristic-driven reference: module groups, dependency direction, package expectations, build/tooling facts, and working rules. Explicitly documents the jenv + .java-version = 21.0.8 JDK pinning contract and the required alignment with ProjectConfiguration.kt (JavaVersion.VERSION_21 / JvmTarget.JVM_21).
  • build-logic.instructions.md — Scoped to build.gradle.kts, buildSrc/**, libs.versions.toml, and workflow files. Covers module classification (JVM-only vs Android library), shared plugin conventions, and where each build concern lives.
  • context-maintenance.instructions.md — Instructs agents to update instructions, skills, and README in the same patch when architecture, module graph, or public API changes land.
  • kdoc-dokka.instructions.md — KDoc standards for this library's specific surface: builder call sequences, annotation types, extension functions, and Room/SQLite lifecycle expectations.

Skills (.github/skills/)

  • jenv-gradle-low-ram — Step-by-step procedure to align jenv to .java-version and invoke Gradle safely under memory pressure (--no-daemon --max-workers=2 -Xmx1536m). Includes KAPT-specific OOM tip and jenv install reference.
  • support-query-builder-build-dependencies + references/build-map.md — Maps every build concern (module includes, Android/JVM defaults, dependency strategy, Spotless, Maven publishing, KAPT wiring) to its owning file. Covers module dependency snapshot and edit strategy.
  • support-query-builder-reference-map + references/module-map.md — Module placement guide: all five modules with package roots, dependency direction, placement heuristics, and consumer notes.
  • support-query-builder-kdoc-dokka + references/kdoc-checklist.md — KDoc templates for classes, builder/DSL functions, properties, extension functions, and annotation types, with repo-specific reminders.

.java-version (21.0.8) already existed; no change required.

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@wax911 wax911 marked this pull request as ready for review April 10, 2026 14:15
@wax911 wax911 merged commit 2a2bc74 into develop Apr 10, 2026
10 of 11 checks passed
@wax911 wax911 deleted the copilot/update-skills-and-instruction-files branch April 10, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants