agentleFS
ukorvlukorvl/web-of-flaws/.github/actions/AGENTS.md

web-of-flaws / actions

AGENTS.md8 starsChanged 3 months agoMITView on GitHub

This directory contains reusable composite actions that encapsulate common workflow patterns. Composite actions are intended to simplify workflows, reduce duplication, and promote consistency across the repository.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

13 rules. About 0 are common, 10 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When you encounter a repeated workflow pattern, consider creating a composite action in .github/actions/ to encapsulate it and keep the …

    line 9
  2. Distinctive:

    Do not rely on undocumented caller state.

    line 12
  3. Very specific:

    Use $GITHUB_ACTION_PATH when referencing files owned by the composite action.

    line 13
  4. Distinctive:

    Follow the principle: one composite action = one clear responsibility.

    line 14
  5. Very specific:

    Prefer names like .github/actions/python-scripts-check/action.yml.

    line 15
  6. Distinctive:

    Always provide name and concise description.

    line 16
  7. Distinctive:

    Keep inputs minimal and don't add inputs that are not vitally necessary.

    line 17
  8. Distinctive:

    Use kebab-case input/output names.

    line 18
  9. Distinctive:

    Treat all action inputs as untrusted strings.

    line 19
  10. Distinctive:

    Avoid hidden behavior controlled by undocumented environment variables.

    line 20
  11. Distinctive:

    Always specify shell: bash for run: steps.

    line 23
  12. Distinctive:

    Never execute input as a command.

    line 25
  13. Distinctive:

    Never make a validation action mutate the repository.

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
AGENTS.md

Composite Actions Guidelines

Scope

This directory contains reusable composite actions that encapsulate common workflow patterns. Composite actions are intended to simplify workflows, reduce duplication, and promote consistency across the repository.

Composite Action Coding Rules

  • When you encounter a repeated workflow pattern, consider creating a composite action in .github/actions/ to encapsulate it and keep the code DRY.
  • Extract an action when logic is reused or conceptually independent, not merely because YAML is long.
  • Composite actions must document any required caller-provided tools, files, environment variables, or repository state.
  • Do not rely on undocumented caller state.
  • Use $GITHUB_ACTION_PATH when referencing files owned by the composite action. Do not assume the caller's working directory.
  • Follow the principle: one composite action = one clear responsibility.
  • Prefer names like .github/actions/python-scripts-check/action.yml.
  • Always provide name and concise description.
  • Keep inputs minimal and don't add inputs that are not vitally necessary.
  • Use kebab-case input/output names.
  • Treat all action inputs as untrusted strings.
  • Avoid hidden behavior controlled by undocumented environment variables.
  • Define outputs only when callers actually need them.
  • Give steps meaningful names.
  • Always specify shell: bash for run: steps.
  • Never eval input.
  • Never execute input as a command.
  • Permissions belong in the workflow, not the composite action.
  • Never make a validation action mutate the repository.
  • Produce concise diagnostic output which is readable for humans and parsable by machines.

Required Checks

yamllint .github
zizmor .github
actionlint
shellcheck .github/scripts/*.sh

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.