agentleFS
XData-siXData-si/xdata-agenthub/skills/agenthub-router/SKILL.md

agenthub-router

Skill1 starsChanged 34 days agoMITView on GitHub

Pick the right XData AgentHub skill (or a short sequence of skills) for the task at hand and apply it with its acceptance checks. Use at the start of any non-trivial engineering, security, operations or AI task when several AgentHub skills are installed, or when the user asks which skill or workflow to use.

The file

Files
SKILL.md

AgentHub Router

Goal

Route each task to the most specific installed skill, chain skills when a task spans phases, and make sure the chosen skill's acceptance checks are reported — not just its steps.

Procedure

  1. Classify the task by its main artefact: new feature, bug, review, infrastructure change, incident, AI or agent system, documentation.
  2. Pick from the routing table below. Prefer the most specific skill; use at most three skills in sequence.
  3. Announce the plan in one line: which skills, in which order, and why.
  4. Apply each skill fully, including its decision points and safety section; stop and ask where a skill requires approval.
  5. Report against acceptance checks of every skill used: met, not met, or NOT RUN with the reason.
  6. No match? Proceed with general good practice and say that no AgentHub skill covered the task.

Routing table

TaskSkills (in order)
New feature or vague requestspec-driven-development → test-driven-development → code-review
First work in an unknown repositoryrepository-onboarding
Bug, failing test, production errordebugging-root-cause → test-driven-development
Clean-up without behaviour changerefactoring-safety
Framework, runtime or base-image upgradedependency-upgrade → dependency-audit
Schema or data changedatabase-migrations → sql-review
Review a pull or merge requestcode-review (+ security-review, error-handling-review, frontend-review as relevant)
Commits, branches, conflictsgit-workflow
Shell or install scriptshell-script-review
New service or exposed APIthreat-modeling → api-design → security-review
Login, SSO, tokensoauth-oidc-review
Credentials, rotation, leakssecrets-management
Release pipeline, signing, SBOMsupply-chain-provenance → release-management
Personal data, GDPRdata-privacy
AI feature offered in the EUeu-ai-act-readiness → data-privacy
Choosing cloud, SaaS or AI providers for EU dataeu-data-sovereignty → data-privacy
NIS2 sector organisation or its suppliernis2-readiness → incident-response
Software or device sold in the EUcyber-resilience-act → supply-chain-provenance
New server or VPSlinux-server-hardening → docker-hardening
Publishing a service on a domainreverse-proxy-tls
Mail lands in spam, spoofingemail-deliverability
Containers, Kubernetes, Terraformdocker-hardening, kubernetes-review, terraform-review
CI pipelinesgitlab-ci or github-actions
Reliability targets, noisy alertsslo-error-budgets → observability
Active incidentincident-response → log-analysis → postmortem
Missing operational procedurerunbook-authoring
Backups and restore testsbackup-restore
Slow code or queriesperformance-profiling, postgres-performance
Prompt or LLM feature changeprompt-design-review → llm-output-evaluation
RAG assistantrag-ingestion-design → rag-evaluation
Agent with tools or credentialsagent-guardrails → prompt-injection-defense → agent-evaluation
Building or reviewing an MCP servermcp-server-development / mcp-review
Self-hosted models, GPU sizinglocal-llm-serving
Several model providers, keys, budgetsllm-gateway-routing → llm-cost-analysis
Go, Rust, Java/Spring, React, Node.js, Django/FastAPI, mobile codego-development, rust-review, java-spring-review, react-component-review, node-backend-review, python-web-review, mobile-app-review
GraphQL APIgraphql-api-review → security-review
Queues, events, async processingevent-driven-architecture
Slow reads, adding a cachecaching-strategy
ETL/ELT, warehouse, wrong report numbersdata-pipeline-review → data-quality-checks
Gradual rollout, kill switchfeature-flags
Multiple languages in a producti18n-localization
New or slow CI/CD pipelineci-cd-pipeline-design → gitlab-ci / github-actions
Large or vulnerable container imagescontainer-image-optimization → docker-hardening
Helm charts, Ansible playbookshelm-chart-review, ansible-review
Rising cloud or AI billcloud-cost-optimization → llm-cost-analysis
Cloud or Kubernetes permissionscloud-iam-least-privilege
Firewall rules, network zonesnetwork-segmentation
Capacity before launchload-testing → performance-profiling
Proving resilience or recoverychaos-engineering, disaster-recovery-drill
Logging design or leaky logslogging-standards
Preparing a release announcementrelease-notes → release-management
Scanner backlog, new critical CVEvulnerability-management
Verifiable security requirementsowasp-asvs-review
Commissioning a penetration testsecurity-testing-scope
Licences of dependenciesopen-source-license-compliance
GDPR access or erasure requestgdpr-dsar-handling
High-risk personal data processingdpia
Financial entity or its ICT provider in the EUdora-readiness
Consumer product or service accessibility in the EUeuropean-accessibility-act → accessibility-review
Attacking an LLM feature before launchai-red-teaming → agent-guardrails
Several cooperating agentsmulti-agent-orchestration
Extracting fields from documents with an LLMllm-structured-extraction
Monitoring LLM cost and behaviourllm-observability
Choosing embeddings for search or RAGembedding-model-selection → rag-evaluation
Putting an ML model into productionml-model-deployment
Documentationdocumentation, technical-writing
Architecture choicearchitecture-decision
Writing a new skillskill-authoring

Acceptance checks

  • The chosen skills and the reason are stated before work starts.
  • Each used skill's acceptance checks appear in the final report with a status.
  • Approval-gated steps from any skill were not executed without approval.

Safety

Routing never widens permissions: the strictest safety section among the chosen skills applies.

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.