Repository navigation
docs: add AGENTS.md with contributor and agent guidance - #50
Open
viniciusdc wants to merge 1 commit into
Open
viniciusdc wants to merge 1 commit into
viniciusdc wants to merge 1 commit into
Conversation
- add AGENTS.md following the layout used by nebari-operator and nebari-infrastructure-core: overview, architecture principles, commands, component structure, main/post state contract, key patterns, conventions, testing, releases, and a pre-commit checklist - replace the actions/typescript-action template text in .github/copilot-instructions.md with a pointer to AGENTS.md plus the review-specific rules Copilot code review needs; the template listed a CODEOWNERS file that does not exist and omitted the action's own architecture
Author
|
@marcelovilla should we keep this copilot instructions file? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an
AGENTS.mdfor this repository, modeled on the ones in nebari-operator and nebari-infrastructure-core, so contributors and AI agents get the same kind of orientation here as in the sibling repos.Until now the only agent guidance was
.github/copilot-instructions.md, which was still theactions/typescript-actiontemplate. It listed aCODEOWNERSfile that doesn't exist and said nothing about what this action does or how its two steps fit together.Changes
AGENTS.md(new)Uses the same section layout as the sibling repos:
src/stays synchronous.npm run bundlealso rewritesREADME.mdand reformats the tree.src/module, fixture and generated artifact is for.saveStatekeys, which step writes and reads each one, and why the ordering arounddeployStartedmatters.dist/, the READMEaction-docsblocks, the coverage badge and.licenses/.uses: ./job, and what each CI workflow checks.v0tag viapublish.yml, and tags (notpackage.json) as the version source of truth..github/copilot-instructions.mdAGENTS.md. Only the review-specific rules stay here, because Copilot code review reads this file: skipdist/and the generated README tables, require README updates for behavior changes, and check input-validation ordering and secret masking.Notes
src/,action.ymland the workflows.npm run format:check,npm run lint,npm run test(76 passing) and markdownlint with the repo's.markdown-lint.ymlall pass locally..github/prompts/unit-test.prompt.mdstill has a template example that mocks__fixtures__/wait.js, which doesn't exist here. I left it alone to keep this PR focused.