project-context-ingestion
Skill18 starsChanged 9 months agoMITView on GitHub
Inspect a Kotlin + Spring repository before making changes or answering implementation, debugging, build, architecture, or review questions. Use when the agent must map modules, Spring Boot/Kotlin/Gradle/JDK versions, compiler plugins, profiles, dependencies, runtime stack, and architectural boundaries so later advice stays compatible with the real project.
- Reads credentials
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- JetBrains/skillsedited, first seen Apr 28, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- JetBrains/skills★ 36097% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- ci-cd-containerization-advisorSkill
- configuration-properties-profiles-kotlin-safeSkill
- dependency-conflict-resolverSkill
- domain-decomposition-api-design-advisorSkill
- error-model-validation-architectSkill
- gradle-kotlin-dsl-doctorSkill
- integration-resilience-engineerSkill
- jackson-kotlin-serialization-specialistSkill
- java-kotlin-migration-assistantSkill
- jpa-spring-data-kotlin-mapperSkill
- kotlin-idiomatic-refactorer-spring-awareSkill
- kotlin-spring-proxy-compatibilitySkill
- observability-integratorSkill
- performance-concurrency-advisorSkill
- production-incident-responderSkill
- schema-migration-plannerSkill
- spring-context-di-reasoningSkill
- spring-kotlin-code-reviewSkill
- spring-mvc-webflux-api-builderSkill
- spring-security-configurator-auditorSkill
- stacktrace-log-triageSkill
- test-suite-builderSkill
- transaction-consistency-designerSkill
- upgrade-breaking-change-navigatorSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 18 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Treat this skill as the default first step for all other Kotlin + Spring skills.
- Very specific: line 17
Read settings.gradle.kts, root build.gradle.kts, module build files, gradle.properties, gradle/libs.versions.toml, and Gradle wrapper …
- Very specific: line 18
Read application.yml, application.yaml, application.properties, and profile-specific variants.
- Distinctive: line 19
Read the top-level package or module layout, plus representative controller, service, repository, configuration, and test classes.
- Very specific: line 20
Read runtime and delivery files when present: Dockerfile, docker-compose*.yml, Kubernetes or Helm manifests, CI workflows, .env.example, …
- Distinctive: line 34
Start from build and config files.
- Distinctive: line 45
If the repository is incomplete, state the missing evidence and continue with bounded assumptions.
- Distinctive: line 60
Prefer facts from the repository over conventions from memory.
- Distinctive: line 61
If multiple modules disagree on versions or stack style, call that out explicitly instead of normalizing it away.
- Distinctive: line 62
If build files and runtime code imply different approaches, treat that as a risk, not a detail.
- Distinctive: line 63
If the task is narrow, still inspect the minimum build and config context before editing code.
- Distinctive: line 64
If another skill is invoked later, feed it the extracted constraints instead of rereading everything from scratch.
- Very specific: line 69
Check whether build logic lives in convention plugins, buildSrc, or an included build-logic build.
- Distinctive: line 79
If the repo mixes JPA and R2DBC or MVC and WebFlux, determine whether that is an intentional boundary by module or an accidental hybrid.
- Distinctive: line 80
If the repo uses Kotlin coroutines on top of blocking persistence, call out that this is still a blocking architecture unless the …
- Distinctive: line 81
If multiple dependency authorities exist, rank them.
- Distinctive: line 82
If tests use different stacks than production, note that explicitly.
- Distinctive: line 83
If the repo has no obvious architecture rules, report that as a constraint instead of inventing a clean architecture that the codebase does …
- Distinctive: line 87
Do not recommend APIs or annotations from a different Spring Boot major version than the project actually uses.
- Distinctive: line 88
Do not add dependencies or plugin blocks without checking whether the project already gets them from a BOM, version catalog, or convention …
- Very specific: line 89
Do not assume MVC when spring-boot-starter-webflux or coroutine-web stack is present.
- Distinctive: line 90
Do not assume JPA just because a database exists.
- Distinctive: line 91
Do not propose architecture refactors before identifying the current structure and team conventions.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Context Ingestion
Source mapping: Tier 1 critical skill derived from Kotlin_Spring_Developer_Pipeline.md (SK-01).
Mission
Build an accurate mental model of the repository before proposing code, fixes, tests, or architecture advice. Treat this skill as the default first step for all other Kotlin + Spring skills.
Inspect First
- Read
settings.gradle.kts, rootbuild.gradle.kts, module build files,gradle.properties,gradle/libs.versions.toml, and Gradle wrapper properties if present. - Read
application.yml,application.yaml,application.properties, and profile-specific variants. - Read the top-level package or module layout, plus representative controller, service, repository, configuration, and test classes.
- Read runtime and delivery files when present:
Dockerfile,docker-compose*.yml, Kubernetes or Helm manifests, CI workflows,.env.example, and deployment scripts. - Inspect dependency and plugin declarations before recommending any new annotation, library, or Spring API.
Extract The Project Map
- Record the Kotlin version, Spring Boot version, Spring Framework generation, Gradle version, JDK or toolchain version, and major libraries that constrain advice.
- Record whether the project uses MVC or WebFlux, JPA or JDBC or jOOQ or MyBatis or R2DBC, synchronous or coroutine-based services, and which test stack is present.
- Record whether compiler plugins such as
kotlin("plugin.spring"),kotlin("plugin.jpa"),kotlin("plugin.serialization"), KAPT, or KSP are enabled. - Record whether the repository is single-module, multi-module, modular monolith, or service-per-repo.
- Record package boundaries and obvious architecture rules such as
web -> service -> persistenceor hexagonal adapters. - Record active configuration prefixes, profiles, secret-loading patterns, and conditional bean usage.
Work Sequence
- Start from build and config files. Do not begin with business code.
- Infer compatibility constraints. Treat these as hard boundaries for every later suggestion.
- Map modules and their responsibilities. Note where HTTP, persistence, messaging, security, and tests live.
- Identify framework mode: MVC vs WebFlux, blocking vs reactive persistence, servlet vs netty, synchronous vs coroutine style.
- Identify Kotlin and Spring trap markers:
- missing
plugin.springwhile AOP annotations exist - missing
plugin.jpawhile JPA entities exist - manual dependency versions that may fight the Spring Boot BOM
- mixed blocking and reactive stacks in the same request flow
- duplicate or profile-fragmented configuration
- missing
- Summarize only what matters for the task at hand. Do not dump a full file inventory.
- If the repository is incomplete, state the missing evidence and continue with bounded assumptions.
What To Produce
Return a compact project brief with these sections:
Stack: framework mode, persistence mode, test stack, build stack.Compatibility constraints: exact versions or explicit unknowns.Architecture map: modules or packages and responsibility boundaries.Operational config: profiles, property binding style, runtime and secret conventions.Risk markers: project-specific traps that may invalidate generic advice.Next commands or files: the highest-value checks to run next.
Decision Rules
- Prefer facts from the repository over conventions from memory.
- If multiple modules disagree on versions or stack style, call that out explicitly instead of normalizing it away.
- If build files and runtime code imply different approaches, treat that as a risk, not a detail.
- If the task is narrow, still inspect the minimum build and config context before editing code.
- If another skill is invoked later, feed it the extracted constraints instead of rereading everything from scratch.
Advanced Context Signals
- Distinguish application modules from library modules. A shared library inside the repo may intentionally avoid the Spring Boot plugin,
bootJar, or runtime-only dependencies. - Check whether build logic lives in convention plugins,
buildSrc, or an includedbuild-logicbuild. Those places often override what module build files appear to say. - Detect
javax.*versusjakarta.*imports to place the codebase on the correct migration timeline. This changes which Spring, Hibernate, and validation advice is valid. - Detect whether the project uses generated sources such as OpenAPI codegen, QueryDSL, jOOQ, protobuf, or MapStruct. Generated code changes where safe edits belong.
- Detect whether
spring.jpa.open-in-view,spring.main.lazy-initialization,spring.aot.enabled, or native-image related settings are active. These settings change what is safe to suggest. - Detect whether the system relies on platform features such as Config Server, Vault, Helm-templated config, or environment-variable substitution. Local files may not show the full runtime truth.
- Detect whether observability, tracing, and correlation are first-class conventions. This affects controller, client, and incident advice.
- Detect whether the service owns its schema, shares a database, or integrates through outbox or CDC. That changes migration and transaction guidance.
Expert Heuristics
- If the repo mixes JPA and R2DBC or MVC and WebFlux, determine whether that is an intentional boundary by module or an accidental hybrid. Advice differs sharply between the two cases.
- If the repo uses Kotlin coroutines on top of blocking persistence, call out that this is still a blocking architecture unless the persistence layer is reactive.
- If multiple dependency authorities exist, rank them. The real source of truth may be the Spring Boot plugin, a version catalog, a company convention plugin, or a platform BOM.
- If tests use different stacks than production, note that explicitly. For example, H2 in tests plus Postgres in production invalidates many persistence assumptions.
- If the repo has no obvious architecture rules, report that as a constraint instead of inventing a clean architecture that the codebase does not follow.
Guardrails
- Do not recommend APIs or annotations from a different Spring Boot major version than the project actually uses.
- Do not add dependencies or plugin blocks without checking whether the project already gets them from a BOM, version catalog, or convention plugin.
- Do not assume MVC when
spring-boot-starter-webfluxor coroutine-web stack is present. - Do not assume JPA just because a database exists. Verify the actual persistence technology.
- Do not propose architecture refactors before identifying the current structure and team conventions.
Escalate Suspicion When You See
- Both servlet and reactive starters without a clear reason.
data classentities together with JPA or Hibernate.@Transactional,@Cacheable, or@Asyncwith no Kotlin Spring plugin.- Explicit versions for Jackson, Hibernate, Netty, Logback, or SLF4J in a Boot-managed build.
- Profile-specific config files that redefine the same properties with inconsistent shapes.
Quality Bar
A good run of this skill makes downstream advice more precise, narrower, and easier to verify. A bad run starts suggesting code before proving which stack, versions, and conventions the repository actually uses.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

