agentleFS
KarthikkcraoKarthikkcrao/domain-architecture-documentation/.github/copilot-instructions.md

domain-architecture-documentation

Copilot instructions0 starsChanged 5 months agoMITView on GitHub

This workspace contains banking domain services implemented primarily using Java and Spring and deployed on AWS, OpenShift, or Kubernetes.

The file

We split this copilot-instructions.md into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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:

    Treat customer data, credentials, account identifiers, tokens, certificates, keys, and encryption material as sensitive.

    line 7
  2. Distinctive:

    Never reproduce secret values or personally identifiable information in generated code or documentation.

    line 8
  3. Distinctive:

    Treat tests, schemas, OpenAPI/AsyncAPI definitions, migrations, Helm charts, Kubernetes/OpenShift manifests, Terraform, CI/CD files, and …

    line 13
  4. Distinctive:

    Use professional banking, security, data, cloud, and enterprise-architecture terminology.

    line 17
  5. Distinctive:

    Use Mermaid for diagrams unless another format is explicitly requested.

    line 20
  6. Distinctive:

    Ensure generated HTML is self-contained, accessible, responsive, printable, and usable without a web server.

    line 21

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

Repository Context

This workspace contains banking domain services implemented primarily using Java and Spring and deployed on AWS, OpenShift, or Kubernetes.

General Instructions

  • Treat customer data, credentials, account identifiers, tokens, certificates, keys, and encryption material as sensitive.
  • Never reproduce secret values or personally identifiable information in generated code or documentation.
  • Base technical statements on repository evidence; do not invent components, interactions, business rules, security controls, or deployment details.
  • Label findings as Confirmed, Strongly indicated, Assumption, or Gap.
  • Reference repository-relative file paths, classes, methods, configuration keys, manifests, and pipeline files.
  • Trace API and event flows through controllers, BFFs, services, domain logic, repositories, message handlers, webhooks, adapters, and external clients.
  • Treat tests, schemas, OpenAPI/AsyncAPI definitions, migrations, Helm charts, Kubernetes/OpenShift manifests, Terraform, CI/CD files, and runtime configuration as architecture evidence.
  • Separate current implementation from recommendations.
  • Separate build-time dependencies from runtime dependencies.
  • Distinguish repository boundaries, build artifacts, deployable units, and runtime services.
  • Use professional banking, security, data, cloud, and enterprise-architecture terminology.
  • Mask sensitive sample values using placeholders such as <MASKED_ACCOUNT_NUMBER>, <TOKEN>, and <SECRET_REFERENCE>.
  • Store generated architecture documentation under docs/.
  • Use Mermaid for diagrams unless another format is explicitly requested.
  • Ensure generated HTML is self-contained, accessible, responsive, printable, and usable without a web server.
  • Validate generated HTML, internal links, Mermaid syntax, evidence references, and sensitive-data masking before completion.

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.