agentleFS
wddxhwddxh/ShortVideoDirector/AGENTS.md

ShortVideoDirector

AGENTS.md21 starsChanged 57 days agoMITView on GitHub

Follow story project layout when choosing production output paths. Choose precise paths before dispatch, keep canonical materials and tool-owned records stable, and use scoped work directories only when a task needs files. Simple tasks may return text; this guidance does not authorize migration or duplicate status ledgers. - Reviewers may use Bash for deterministic checks; do not disable it solely to minimize permissions. Bash access does not permit reviewers to modify files outside their assigned responsibilities. -

The file

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

12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When developing SVD, the main AI is the engineering lead and delegates repository research, implementation, and testing to engineering …

    line 5
  2. Distinctive:

    When producing a short video, the top-level main AI loads Director orchestration knowledge and directly owns user interaction, creative …

    line 6
  3. Distinctive:

    Prefer the smallest correct change.

    line 16
  4. Distinctive:

    Before adding a defensive check, identify the concrete caller, input path, failure impact, and evidence that the case is reachable in this …

    line 18
  5. Distinctive:

    Keep fixes proportional to product risk.

    line 19
  6. Distinctive:

    Prefer positive, actionable descriptions of the intended behavior or result.

    line 23
  7. Distinctive:

    Keep agent instructions and skills focused on current, correct behavior.

    line 24
  8. Distinctive:

    When behavior changes, revise the governing instruction in place so readers find one coherent current rule.

    line 25
  9. Distinctive:

    Test deterministic contracts mechanically: file paths, schemas, exit codes, state transitions, ordering, parser boundaries, and provider …

    line 29
  10. Distinctive:

    Do not make tests a natural-language matching engine.

    line 30
  11. Distinctive:

    Add regression tests for observed bugs and credible boundary failures.

    line 33
  12. Distinctive:

    Prefer a few high-value fixture and end-to-end contract tests over many overlapping assertions.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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

Repository Working Agreement

Context And Ownership

  • When developing SVD, the main AI is the engineering lead and delegates repository research, implementation, and testing to engineering agents.
  • When producing a short video, the top-level main AI loads Director orchestration knowledge and directly owns user interaction, creative coordination, scope, and authorization. Production experts own their craft; fresh independent Reviewer tasks own acceptance judgments.
  • Engineering and production share the assistant entry point, while each commission uses its own focused responsibilities and instructions. Loading a skill supplies knowledge; it does not switch roles, grant authority, or establish review independence.
  • Specialists delegate directly when supported. After a confirmed nesting/depth failure or unavailable tool, the main AI/Director relays the requested role, outcome, references, scope, and constraints, then returns the actual result to the original requesting task. Reuse the confirmed capability limit; preserve fresh-context requirements for subsequent visual operations.

Project Files

Follow story project layout when choosing production output paths. Choose precise paths before dispatch, keep canonical materials and tool-owned records stable, and use scoped work directories only when a task needs files. Simple tasks may return text; this guidance does not authorize migration or duplicate status ledgers.

Engineering Scope

  • Prefer the smallest correct change. Do not over-design, over-abstract, or add speculative compatibility paths.
  • Defend against realistic, reachable failures at trust boundaries. Do not invent extreme or practically impossible conditions solely to justify more code or tests.
  • Before adding a defensive check, identify the concrete caller, input path, failure impact, and evidence that the case is reachable in this repository.
  • Keep fixes proportional to product risk. Do not turn a focused workflow change into a general parser, framework, migration system, or policy engine without a demonstrated need.

Instruction Writing

  • Prefer positive, actionable descriptions of the intended behavior or result. State what to do and what the output should contain; retain explicit prohibitions where needed for safety, authorization, or interface correctness.
  • Keep agent instructions and skills focused on current, correct behavior. Distill lessons into present-tense guidance; keep development history, superseded approaches, experiment labels, and failure narratives in separate records.
  • When behavior changes, revise the governing instruction in place so readers find one coherent current rule. Document supported compatibility as an active contract rather than a history of changes.

Testing

  • Test deterministic contracts mechanically: file paths, schemas, exit codes, state transitions, ordering, parser boundaries, and provider argument forwarding.
  • Do not make tests a natural-language matching engine. Avoid large collections of brittle keyword, regex, or exact-prose assertions against skill prompts and documentation.
  • For natural-language quality, narrative coherence, visual judgment, and ambiguous intent, use the repository's LLM reviewer skills and semantic review loops.
  • Mechanical tests may verify that a review stage exists, routes to the correct agent, persists its result, and exposes a stable machine-readable status. They should not encode the reviewer's full semantic judgment as word matching.
  • Add regression tests for observed bugs and credible boundary failures. Do not add tests for hypothetical inputs that normal callers cannot produce.
  • Prefer a few high-value fixture and end-to-end contract tests over many overlapping assertions.

Review

  • Reviewers may use Bash for deterministic checks; do not disable it solely to minimize permissions. Bash access does not permit reviewers to modify files outside their assigned responsibilities.
  • Review findings must describe a concrete failure mode in the supported workflow.
  • Distinguish blocking correctness issues from optional hardening. Do not block delivery on speculative hardening.
  • Preserve LLM responsibility where semantic intelligence is the feature; do not replace it with mechanical grep logic.

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.