Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 2.27 KB

File metadata and controls

55 lines (34 loc) · 2.27 KB

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Important

  • ALL instructions within this document MUST BE FOLLOWED, these are not optional unless explicitly stated.
  • ASK FOR CLARIFICATION If you are uncertain of anything within the document.
  • DO NOT edit more code than you have to.
  • DO NOT WASTE TOKENS, be succinct and concise.

Coding Style

IMPORTANT: Adhere to coding style in .embabel/coding-style.md for coding style guidance.

Working Approach

NEVER execute git commit or push. You may use git tools for history, diffing or staging only.

ALWAYS work test first. When making an enhancement or fixing a bug, write failing tests first, then implement the feature or fix the bug to make the tests pass.

IMPORTANT: You should build the most relevant project (closest pom.xml) with Maven before presenting finished changes. Run the individual tests you have changed or that are most relevant.

If any change impacts usage of the project, update relevant documentation files.

Advice for Documentation in embabel-agent-docs

When working on documentation in the embabel-agent-docs module, follow these guidelines:

Use Asciidoctor syntax for writing documentation.

When asked to edit a particular .adoc file, look for a parallel file with a name prefixed with a . for instructions.

For example, if you are asked to edit tools.adoc, look for .tools.adoc for specific instructions about how to go about it. Thus you will be given a combination of user instructions such as ("edit tools.adoc to cover the FooBar tool in FooBar.kt"). You will follow the user instruction but bear in mind the instructions in any .tools.adoc file. If there is no ..adoc file, follow the general instructions in this document.

When writing documentation, ensure that you cover the following general instructions:

NEVER make up code unless asked. Code examples must come from the following repositories: