agentleFS
oak-investoak-invest/kiso/.github/copilot-instructions.md

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.

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
  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 unnecessary abstraction and avoid introducing framework-specific behavior unless it is already part of the repository design.

    line 36
  4. Distinctive:

    Use simple, explicit, full English names.

    line 40
  5. Distinctive:

    Avoid vague names like:

    line 50
  6. Distinctive:

    Prefer immutable models when possible.

    line 58
  7. Distinctive:

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

    line 61
  8. Distinctive:

    When adding fields to shared contracts:

    line 63
  9. Distinctive:

    Ensure names are explicit.

    line 64
  10. Distinctive:

    Ensure nullability is intentional.

    line 65
  11. Distinctive:

    Document semantics in Javadoc when the meaning is not obvious.

    line 67
  12. Distinctive:

    Avoid hidden side effects.

    line 77
  13. Distinctive:

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

    line 79
  14. Distinctive:

    Treat every new dependency as costly.

    line 83
  15. Distinctive:

    Before adding a dependency, prefer:

    line 85
  16. Distinctive:

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

    line 90
  17. Distinctive:

    When changing code in this repository:

    line 93
  18. Distinctive:

    Add or update unit tests when behavior changes.

    line 94
  19. Very specific:

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

    line 102

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.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) latest specification: /documentation/specs/okf_spec_version_0.2.md

Information

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:

  1. simplicity
  2. readability
  3. beauty
  4. 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:

  • 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.