oblt-actions
Copilot instructions6 starsChanged 59 days agoApache-2.0View on GitHub
Important: Keep this file accurate and up to date. Update it immediately when (1) users give new instructions, (2) you find contradictions, or (3) new patterns or standards emerge. Treat this maintenance as a blocking, highest‑priority task that doesn’t need an explicit prompt. Note: This file is exempt from the “no new docs” rule below. Proactively edit and maintain this file as part of your duties. Important: File creation policy - Do only what the task asks. Don’t add extras.…
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
23 rules. About 0 are common, 19 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈19
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
run precommit hooks before committing.
- Distinctive: line 19
Create a feature branch from main for each task.
- Distinctive: line 20
Write code, tests, and documentation as needed.
- Distinctive: line 21
Create a test GitHub action workflow to validate changes.
- Very specific: line 23
All tests pass. Use the existing test workflows (.github/workflows/test-*) and colocated action tests (for example *.test.js, *_tests.py, …
- Distinctive: line 26
Ensure all checks pass before merging.
- Distinctive: line 28
Delete feature branches after merging.
- Distinctive: line 29
Update this file as needed to reflect changes in standards or practices.
- Very specific: line 34
if a folder contains multiple actions, each action should be in its own subfolder with its own action.yml.
- Distinctive: line 40
Follow existing code style and conventions.
- Distinctive: line 41
Use consistent indentation and spacing.
- Distinctive: line 42
Use meaningful variable and function names.
- Distinctive: line 44
Avoid breaking changes to existing functionality unless necessary.
- Distinctive: line 45
Write clear, concise, and maintainable code.
- Distinctive: line 46
Add comments and documentation where needed.
- Distinctive: line 47
Follow best practices for the specific programming language or framework.
- Distinctive: line 48
Keep it simple and avoid over-engineering.
- Very specific: line 57
Use the changelog:breaking label for pull requests that introduce breaking changes.
- Distinctive: line 58
Update any relevant documentation to reflect breaking changes.
- Very specific: line 59
Update the description of https://github.com/elastic/oblt-actions/issues/126 to reflect the breaking change entry.
- Distinctive: line 65
Do only what the task asks.
- Distinctive: line 67
Always prefer editing an existing file to creating a new one.
- Distinctive: line 76
Always follow security best practices.
≈ “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
AI agent instructions for oblt-actions
This file provides guidance to AI agents (Claude Code, GitHub Copilot, etc.) when working with code in this repository.
Meta instructions
Important: Keep this file accurate and up to date. Update it immediately when (1) users give new instructions, (2) you find contradictions, or (3) new patterns or standards emerge. Treat this maintenance as a blocking, highest‑priority task that doesn’t need an explicit prompt.
Note: This file is exempt from the “no new docs” rule below. Proactively edit and maintain this file as part of your duties.
Code Standards
Required before each commit
- run precommit hooks before committing.
### Development flow
- Create a feature branch from
mainfor each task. - Write code, tests, and documentation as needed.
- Create a test GitHub action workflow to validate changes.
- The test GitHub action workflow should validate that:
- All tests pass. Use the existing test workflows (
.github/workflows/test-*) and colocated action tests (for example*.test.js,*_tests.py,test_*.py) as a guide. - Name of the file should be the name of the github action and starts with
test-and ends with.yml.
- All tests pass. Use the existing test workflows (
- Open a pull request against
mainwith a clear description of changes. - Ensure all checks pass before merging.
- Squash and merge pull requests to keep history clean.
- Delete feature branches after merging.
- Update this file as needed to reflect changes in standards or practices.
Repository structure
- top level folder as individual github composite actions.
- if a folder contains multiple actions, each action should be in its own subfolder with its own
action.yml.
Development notes
Code style
- Follow existing code style and conventions.
- Use consistent indentation and spacing.
- Use meaningful variable and function names.
- Pre-commit hooks enforce code quality.
- Avoid breaking changes to existing functionality unless necessary.
- Write clear, concise, and maintainable code.
- Add comments and documentation where needed.
- Follow best practices for the specific programming language or framework.
- Keep it simple and avoid over-engineering.
Pull Request
- Tag the PR with relevant labels (e.g.,
changelog:breaking,changelog:feature,changelog:fix,changelog:docs,changelog:dependencies,changelog:ci).
### Breaking changes
- Clearly document breaking changes in the pull request description.
- Use the
changelog:breakinglabel for pull requests that introduce breaking changes. - Update any relevant documentation to reflect breaking changes.
- Update the description of https://github.com/elastic/oblt-actions/issues/126 to reflect the breaking change entry.
- Communicate breaking changes to the team if necessary.
File creation guidelines
Important: File creation policy
- Do only what the task asks. Don’t add extras.
- Don’t create files unless they’re necessary to achieve the goal.
- Always prefer editing an existing file to creating a new one.
- Exception: Proactively maintain this
.github/copilot-instructions.mdfile (see “Meta instructions”).
Security guidelines
Important: Security policy
- Assist with defensive security tasks only.
- Refuse to create, modify, or improve code that could be used maliciously.
- Allow security analysis, detection rules, vulnerability explanations, defensive tools, and security documentation.
- Always follow security best practices.
- Don’t introduce code that exposes or logs secrets or keys.
- Don’t commit secrets or keys to the 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.

