agentleFS
abhi1693abhi1693/openclaw-mission-control/.github/copilot-instructions.md

openclaw-mission-control

Copilot instructions4.1k starsChanged 9 months agoMITArchived repositoryView on GitHub

  • Reads credentials
  • In this repositoryOne other file it gives its agents.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Add or update tests whenever behavior changes.

    line 30
  2. Very specific:

    Follow Conventional Commits (seen in history), e.g.

    line 33
  3. Distinctive:

    Keep PRs focused and based on latest master.

    line 34
  4. Very specific:

    Never commit secrets. Copy from .env.example and keep real values in local .env.

    line 38

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

Project Structure & Module Organization

  • backend/: FastAPI service. Main app code lives in backend/app/ with API routes in backend/app/api/, data models in backend/app/models/, schemas in backend/app/schemas/, and service logic in backend/app/services/.
  • backend/migrations/: Alembic migrations (backend/migrations/versions/ for generated revisions).
  • backend/tests/: pytest suite (test_*.py naming).
  • backend/templates/: backend-shipped templates used by gateway flows.
  • frontend/: Next.js app. Routes under frontend/src/app/, shared components under frontend/src/components/, utilities under frontend/src/lib/.
  • frontend/src/api/generated/: generated API client; regenerate instead of editing by hand.
  • docs/: contributor and operations docs (start at docs/README.md).

Build, Test, and Development Commands

  • make setup: install/sync backend and frontend dependencies.
  • make check: closest CI parity run (lint, typecheck, tests/coverage, frontend build).
  • docker compose -f compose.yml --env-file .env up -d --build: run full stack.
  • Fast local loop:
    • docker compose -f compose.yml --env-file .env up -d db
    • cd backend && uv run uvicorn app.main:app --reload --port 8000
    • cd frontend && npm run dev
  • make api-gen: regenerate frontend API client (backend must be on 127.0.0.1:8000).

Coding Style & Naming Conventions

  • Python: Black + isort + flake8 + strict mypy. Max line length is 100. Use snake_case.
  • TypeScript/React: ESLint + Prettier. Components use PascalCase; variables/functions use camelCase.
  • For intentionally unused destructured TS variables, prefix with _ to satisfy lint config.

Testing Guidelines

  • Backend: pytest via make backend-test; coverage policy via make backend-coverage (writes backend/coverage.xml and backend/coverage.json).
  • Frontend: vitest + Testing Library via make frontend-test (coverage in frontend/coverage/).
  • Add or update tests whenever behavior changes.

Commit & Pull Request Guidelines

  • Follow Conventional Commits (seen in history), e.g. feat: ..., fix: ..., docs: ..., test(core): ....
  • Keep PRs focused and based on latest master.
  • Include: what changed, why, test evidence (make check or targeted commands), linked issue, and screenshots/logs when UI or operator workflow changes.

Security & Configuration Tips

  • Never commit secrets. Copy from .env.example and keep real values in local .env.
  • Report vulnerabilities privately via GitHub security advisories, not public issues.

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.