kiso
Copilot instructions47 starsChanged 3 months agoApache-2.0View on GitHub
Kiso-cli (/applications/kiso-cli) is a command-line application with commands such as: - check: Validates the Markdown files in an OKF bundle and reports formatting or structural errors. - 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 and avoid introducing framework-specific behavior unless it is already part of the repository design. Use simple, explicit, full English names. Choose expressive names…
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
Show its rules and text
We split this copilot-instructions.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 36
Avoid unnecessary abstraction and avoid introducing framework-specific behavior unless it is already part of the repository design.
- Distinctive: line 40
Use simple, explicit, full English names.
- Distinctive: line 50
Avoid vague names like:
- Distinctive: line 58
Prefer immutable models when possible.
- Distinctive: line 61
Keep models focused and do not mix unrelated concerns into the same class.
- Distinctive: line 63
When adding fields to shared contracts:
- Distinctive: line 64
Ensure names are explicit.
- Distinctive: line 65
Ensure nullability is intentional.
- Distinctive: line 67
Document semantics in Javadoc when the meaning is not obvious.
- Distinctive: line 77
Avoid hidden side effects.
- Distinctive: line 79
Do not create overly generic validators when a narrow validator is clearer.
- Distinctive: line 83
Treat every new dependency as costly.
- Distinctive: line 85
Before adding a dependency, prefer:
- Distinctive: line 90
Only add a dependency if it meaningfully improves correctness or maintainability.
- Distinctive: line 93
When changing code in this repository:
- Distinctive: line 94
Add or update unit tests when behavior changes.
- Very specific: line 102
Never use tertiary operators (e.g., condition ?
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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) latest specification: /documentation/specs/okf_spec_version_0.2.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:
check: Validates the Markdown files in an OKF bundle and reports formatting or structural errors.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 and 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.

