agentleFS
yugasunyugasun/aiops/skills/aiops-setup/SKILL.md

aiops-setup

Skill4 starsChanged 3 months agoApache-2.0View on GitHub

Configure a target project for the aiops bundle — issue tracker, triage labels, domain doc layout. Silent defaults on inline bootstrap; full prompts on explicit /aiops-setup.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    When docs/agents/ is missing:

    line 15
  2. Very specific:

    Read repo-root aiops.yaml if present — see aiops-yaml.md.

    line 17
  3. Very specific:

    Update CLAUDE.md or AGENTS.md ## Agent skills block (create section if missing.

    line 20
  4. Very specific:

    Check: aiops.yaml, git remote, AGENTS.md / CLAUDE.md, CONTEXT.md, CONTEXT-MAP.md, docs/adr/, docs/agents/, .scratch/.

    line 30
  5. Very specific:

    A — Issue tracker: Only offer GitHub/GitLab in the questionnaire if user has no aiops.yaml and explicitly asks for remote tracker.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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
SKILL.md

aiops-setup

Scaffold per-repo config: issue tracker, triage labels, domain docs.

Modes

Silent bootstrap (from /aiops conductor)

When docs/agents/ is missing:

  1. Read repo-root aiops.yaml if present — see aiops-yaml.md.
  2. No yaml → issue_tracker.kind: local, triage labels 1:1, domain.layout: single. Write docs/agents/* without asking.
  3. Yaml with github or gitlab → seed matching issue-tracker-*.md; apply yaml prs_as_triage and label overrides. No A/B/C questionnaire unless yaml is incomplete.
  4. Update CLAUDE.md or AGENTS.md ## Agent skills block (create section if missing; ask only if neither file exists).

Full setup (explicit /aiops-setup)

Interactive — explore, confirm one section at a time, then write. Use when switching tracker or restarting config.

Full setup process

1. Explore

Check: aiops.yaml, git remote, AGENTS.md / CLAUDE.md, CONTEXT.md, CONTEXT-MAP.md, docs/adr/, docs/agents/, .scratch/.

2. Ask (one section at a time)

Skip sections already satisfied by aiops.yaml — show yaml values and offer edit only.

A — Issue tracker: Only offer GitHub/GitLab in the questionnaire if user has no aiops.yaml and explicitly asks for remote tracker. Otherwise default local markdown.

B — Triage labels: Map five roles to tracker strings. Default 1:1.

C — Domain docs: Single-context (CONTEXT.md + docs/adr/) or multi-context (CONTEXT-MAP.md).

D — Constitution: If CONSTITUTION.md does not exist at repo root, offer to generate one from constitution-template.md. Walk through each section (Testing, Code quality, Architecture, Performance, Security, Process) and ask the user to fill in project-specific principles. These are non-negotiable — referenced by every agent at every phase.

3. Confirm draft

Show ## Agent skills block + docs/agents/issue-tracker.md, triage-labels.md, domain.md for user edit.

4. Write

Seed templates: issue-tracker-*.md, triage-labels.md, domain.md. If constitution was configured, write CONSTITUTION.md from template with user's answers.

5. Done

Point user to docs/agents/*.md. Optional: add aiops.yaml from aiops.yaml.example for reproducible team defaults.

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.