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.
- .github/copilot-instructions.mdCopilot instructions
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
- Distinctive: line 27
When generating code for this repository, always prioritize:
- Distinctive: line 34
Prefer explicit code to clever code.
- Distinctive: line 38
Avoid introducing framework-specific behavior unless it is already part of the repository design.
- Distinctive: line 42
Use simple, explicit, full English names.
- Distinctive: line 52
Avoid vague names like:
- Distinctive: line 60
Prefer immutable models when possible.
- Distinctive: line 63
Keep models focused and do not mix unrelated concerns into the same class.
- Distinctive: line 65
When adding fields to shared contracts:
- Distinctive: line 66
ensure names are explicit
- Distinctive: line 67
ensure nullability is intentional
- Distinctive: line 69
document semantics in Javadoc when the meaning is not obvious
- Distinctive: line 79
avoid hidden side effects
- Distinctive: line 81
Do not create overly generic validators when a narrow validator is clearer.
- Distinctive: line 85
Treat every new dependency as costly.
- Distinctive: line 87
Before adding a dependency, prefer:
- Distinctive: line 92
Only add a dependency if it meaningfully improves correctness or maintainability.
- Distinctive: line 95
When changing code in this repository:
- Distinctive: line 96
add or update unit tests when behavior changes
- Very specific: line 104
Never use tertiary operators (e.g., condition ?
≈ “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.
Files
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
- Repository: https://github.com/oak-invest/kiso
- Website: https://oak-invest.github.io/kiso
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:
- simplicity
- readability
- beauty
- 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:
paymentRequirementsnetworkIdfacilitatorUrl
Avoid vague names like:
datainfoobject
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.
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.

