agentleFS
ruanrongmanruanrongman/IntelliConnect/AGENTS.md

IntelliConnect

AGENTS.md147 starsChanged 3 years agoApache-2.0View on GitHub

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use JDK 21 for backend compilation.

    line 7
  2. Very specific:

    Use 4-space indentation for Java.

    line 20
  3. Very specific:

    Keep secrets out of git. Configure local values in src/main/resources/application.yaml or environment-specific overrides, and use Jasypt …

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Repository Guidelines

Project Structure & Module Organization

IntelliConnect is a Spring Boot 3.5 / Java 21 backend with a Vue 3 + Vite frontend. Backend code lives in src/main/java/top/rslly/iot/ (controllers/, services/, dao/, models/, param/, config/, utility/). Resources are in src/main/resources/, protobuf files in src/main/proto/, and tests in src/test/java/. Frontend code is under web/src/; docs are in docs/; infrastructure is in docker/. Avoid target/ and generated cache/temp directories.

Compiler & Environment

Use JDK 21 for backend compilation. Local Windows path: C:\Users\Lenovo\.jdks\ms-21.0.9. If the compiler is missing, set IntelliJ Project SDK, language level, Maven Runner JRE, and JAVA_HOME to this JDK. PowerShell: $env:JAVA_HOME='C:\Users\Lenovo\.jdks\ms-21.0.9'; $env:Path="$env:JAVA_HOME\bin;$env:Path". Avoid JDK 17 or JDK 25.

Build, Test, and Development Commands

  • mvnw.cmd clean compile or ./mvnw clean compile: compile the backend.
  • mvnw.cmd test or ./mvnw test: run backend JUnit tests.
  • mvnw.cmd clean package -DskipTests: build the runnable JAR without tests.
  • mvnw.cmd spotless:apply: apply Java formatting from dev-support/dailymart_spotless_formatter.xml.
  • cd web && npm install: install frontend dependencies.
  • cd web && npm run dev: start the Vite dev server.
  • cd web && npm run build: create a production frontend build.
  • cd docker && docker-compose up -d: start MySQL, Redis, InfluxDB, EMQX, and ChromaDB.

Coding Style & Naming Conventions

Use 4-space indentation for Java. Classes use PascalCase, methods and fields use camelCase, and constants use UPPER_SNAKE_CASE. Keep backend changes layered: controllers delegate to services, services to repositories. Run Spotless before committing Java changes. Frontend code follows Vue 3 SFC patterns, ESLint, Prettier, and Stylelint.

Testing Guidelines

Backend tests use Spring Boot Test/JUnit 5; name tests *Test.java and place them under matching packages in src/test/java/. Add focused tests for service logic, controllers, security behavior, and protocol parsing when touched. No frontend test runner is defined; validate frontend changes with npm run build and manual UI checks.

Commit & Pull Request Guidelines

Commits follow Conventional Commits enforced by web/commitlint.config.js: feat: add agent text-debug, fix(auth): refresh expired token, docs(api): update device docs. Keep messages in English and use scopes when helpful. PRs should include a description, linked issues, test/build results, and screenshots for UI changes.

Security & Configuration Tips

Keep secrets out of git. Configure local values in src/main/resources/application.yaml or environment-specific overrides, and use Jasypt for encrypted values when needed. Review changes touching JWT, Spring Security, MQTT credentials, AI provider keys, or database settings carefully.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.