agentleFS
oak-investoak-invest/kiso/AGENTS.md

kiso

AGENTS.md47 starsChanged 3 months agoApache-2.0View on GitHub

Kiso-cli (/applications/kiso-cli) is a command-line application with commands such as: - format: Cleans Markdown files (e.g., removes unnecessary empty lines). - validate: Checks that all files conform to the OKF specification. - build: Generates a static website with HTML files alongside the original Markdown files. When generating code for this repository, always prioritize: Prefer explicit code to clever code. Avoid unnecessary abstraction. Avoid introducing framework-specific behavior unless it is already part of the repository design. Use simple, explicit, full English…

  • 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

Show its rules and text

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

19 rules. About 0 are common, 18 are distinctive, and 1 is 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.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When generating code for this repository, always prioritize:

    line 27
  2. Distinctive:

    Prefer explicit code to clever code.

    line 34
  3. Distinctive:

    Avoid introducing framework-specific behavior unless it is already part of the repository design.

    line 38
  4. Distinctive:

    Use simple, explicit, full English names.

    line 42
  5. Distinctive:

    Avoid vague names like:

    line 52
  6. Distinctive:

    Prefer immutable models when possible.

    line 60
  7. Distinctive:

    Keep models focused and do not mix unrelated concerns into the same class.

    line 63
  8. Distinctive:

    When adding fields to shared contracts:

    line 65
  9. Distinctive:

    ensure names are explicit

    line 66
  10. Distinctive:

    ensure nullability is intentional

    line 67
  11. Distinctive:

    document semantics in Javadoc when the meaning is not obvious

    line 69
  12. Distinctive:

    avoid hidden side effects

    line 79
  13. Distinctive:

    Do not create overly generic validators when a narrow validator is clearer.

    line 81
  14. Distinctive:

    Treat every new dependency as costly.

    line 85
  15. Distinctive:

    Before adding a dependency, prefer:

    line 87
  16. Distinctive:

    Only add a dependency if it meaningfully improves correctness or maintainability.

    line 92
  17. Distinctive:

    When changing code in this repository:

    line 95
  18. Distinctive:

    add or update unit tests when behavior changes

    line 96
  19. Very specific:

    Never use tertiary operators (e.g., condition ?

    line 104

≈ “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

Kiso

Project description

  • Kiso short description: Kiso is a publishing engine for Open Knowledge Format (OKF).
  • Kiso longer description: Kiso is a publishing engine that turns Open Knowledge Format (OKF) bundles into static websites for humans and AI agents.
  • Kiso complete description: Kiso is a publishing engine for the Open Knowledge Format (OKF). The project turns a folder of organized Markdown files into a navigable knowledge system. In the same way that Hugo turns Markdown files into a static website, Kiso aims to turn an OKF knowledge base into a structured, browsable, and usable documentation site. Kiso is also designed with AI usage in mind. Because the source remains structured Markdown, the knowledge base stays readable, versionable with Git, easy to review, and usable by AI agents. Kiso sits between two needs: simple text files for maintaining knowledge, and generated navigation for humans and tools to explore it.
  • Product analogy: Kiso is positioned as Hugo for Open Knowledge Format (OKF).
  • Open Knowledge Format description: Open Knowledge Format (OKF) is a way to structure knowledge using Markdown files enriched with metadata. The goal is to keep knowledge easy for humans to write and read, while making it structured enough for software tools and AI agents to understand, validate, connect, and reuse.
  • Open Knowledge Format (OKF) specification: /documentation/specs/okf_spec_version_0.1.md

Information

Kiso features

Kiso-cli (/applications/kiso-cli) is a command-line application with commands such as:

  • format: Cleans Markdown files (e.g., removes unnecessary empty lines).
  • validate: Checks that all files conform to the OKF specification.
  • build: Generates a static website with HTML files alongside the original Markdown files.

Design principles

When generating code for this repository, always prioritize:

  1. simplicity
  2. readability
  3. beauty
  4. performance

Prefer explicit code to clever code.

Avoid unnecessary abstraction.

Avoid introducing framework-specific behavior unless it is already part of the repository design.

Naming rules

Use simple, explicit, full English names. Choose expressive names to abbreviations. Good names are short but clear.

Examples:

  • paymentRequirements
  • networkId
  • facilitatorUrl

Avoid vague names like:

  • data
  • info
  • object

API and model rules

Prefer immutable models when possible. If the repository already uses records for DTO-like structures, prefer records for new DTO-like types.

Keep models focused and do not mix unrelated concerns into the same class.

When adding fields to shared contracts:

  • ensure names are explicit
  • ensure nullability is intentional
  • preserve JSON compatibility
  • document semantics in Javadoc when the meaning is not obvious

Validation rules

Validation must be predictable and easy to reason about.

Custom validation annotations and validators should:

  • have clear names
  • validate one concern
  • produce understandable error messages
  • avoid hidden side effects

Do not create overly generic validators when a narrow validator is clearer.

Dependencies

Treat every new dependency as costly.

Before adding a dependency, prefer:

  • existing repository dependencies
  • plain Java
  • small local code

Only add a dependency if it meaningfully improves correctness or maintainability.

Testing expectations

When changing code in this repository:

  • add or update unit tests when behavior changes
  • cover serialization/deserialization when contracts change
  • cover validation logic when validators change
  • cover edge cases for shared utility code

Tests should be simple, direct, and readable.

Other rules

  • Never use tertiary operators (e.g., condition ? trueValue : falseValue) in this repository.

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.