Skip to content

Adding AGENTS.md#4573

Open
CsatariGergely wants to merge 2 commits into
kptdev:mainfrom
nokia:add-agentsmd
Open

Adding AGENTS.md#4573
CsatariGergely wants to merge 2 commits into
kptdev:mainfrom
nokia:add-agentsmd

Conversation

@CsatariGergely
Copy link
Copy Markdown
Contributor

@CsatariGergely CsatariGergely commented Jun 4, 2026

Adding AGENTS.md

  • Usage of AI
    The original AGENTS.md was generated by GitHub Copilot: Claude Haiku 4.5. I've made small edits here and there.

Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Assisted-by: GitHub Copilot: Claude Haiku 4.5
Copilot AI review requested due to automatic review settings June 4, 2026 11:49
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 4, 2026

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit 18dc440
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/6a217662d797d500088f8a91
😎 Deploy Preview https://deploy-preview-4573--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. documentation Improvements or additions to documentation labels Jun 4, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new AGENTS.md guide intended for AI/code agents working on the kpt repository, including repository context, contributor guidelines, and commonly used build/test/CI commands to reduce setup friction and encourage consistent workflows.

Changes:

  • Introduces AGENTS.md with generic rules for AI-assisted coding and PR reviews.
  • Documents key build/test targets (make all, make test-docker, e2e targets) and environment variables.
  • Summarizes repository structure and CI workflows to help agents navigate the codebase.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md
Comment on lines +16 to +17
* When comitting suggested changes add a signoff of the approving human and add the `Assisted-by`
tag to the commit message
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md
Comment thread AGENTS.md Outdated
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Assisted-by: GitHub Copilot: Claude Haiku 4.5

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 4, 2026 12:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 8 comments.

Comment thread AGENTS.md
Comment on lines +3 to +4
For Copilot, Cursor, Codex, Gemini Code Assist or any agents generating code or review Pull Requests
in this repository.
Comment thread AGENTS.md
Comment on lines +16 to +17
* When comitting suggested changes add a signoff of the approving human and add the `Assisted-by`
tag to the commit message
Comment thread AGENTS.md
* **.github/workflows/go.yml**: Main CI workflow
* Runs on Linux (docker/podman matrix) and macOS
* Executes: `make all` + `make test-docker`
* Triggered on PRs and pushes (excludes dependabot branches)
Comment thread AGENTS.md
Comment on lines +253 to +255
* **KPT_NO_PAGER_HELP**: Set to 1 to disable pager for help output
PAGER: Custom pager command (default: less -R)
* **KPT_FN_WASM_RUNTIME**: WASM function runtime selection
Comment thread AGENTS.md

* **Unit Tests**: Run with `make test` (standard Go tests)
* **Docker-based Tests**: Run with `make test-docker` (requires container runtime)
* **Function E2E Tests**: Run with make `test-fn-render` / `make test-fn-eval` (testdata-driven)
Comment thread AGENTS.md

## Implementation Notes for Code Changes

* **CLI Commands**: Add to `commands/` directory; use Cobra; update `documentation/cli` for documentation
Comment thread AGENTS.md
### Code Generation & Formatting

```bash
make fmt # Run gofmt and goimports
Comment thread AGENTS.md
Comment on lines +160 to +161
* Run `make serve` from root (serves docs locally)
* Requires `npm install` first
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add AGENTS.md to the repos of the kptdev org Finetune Copilot settings

2 participants