maintain-integration
Skill16 starsChanged 3 months agoApache-2.0View on GitHub
Use when reviewing, fixing, or improving an EXISTING Elastic integration package. Covers quality reviews, targeted fixes (pipelines, field mappings, CEL programs, manifests, changelogs), full improvement passes, and minor adjustments. Use create-integration instead when creating a new package or adding a new data stream from scratch.
In this repository14 other files it gives its agents.
- anonymize-logsSkill
- cel-programsSkill
- create-integrationSkill
- dashboard-guidelinesSkill
- dashboard-reviewSkill
- ecs-field-mappingsSkill
- elastic-package-cliSkill
- entity-mappingsSkill
- ingest-pipelinesSkill
- input-configurationsSkill
- integration-testingSkill
- package-specSkill
- research-integrationSkill
- review-integrationSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use this skill when the package already exists:
- Very specific: line 20
Use create-integration instead when:
- Very specific: line 30
Run automated validation, delegate inspection to a subagent (see Dispatch convention in references/review-workflow.md) pointing it at …
- Very specific: line 48
Run elastic-package lint and elastic-package check after any direct edits to confirm no regressions.
- Distinctive: line 55
Do not load domain-specific skills (pipelines, CEL, ECS, field mappings) into your own context.
- Distinctive: line 67
When delegating, provide the subagent with: package path, data stream path, specific issues to fix (paste findings), sample data if …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
maintain-integration
When to use vs create-integration
Use this skill when the package already exists:
- reviewing quality, ECS compliance, or correctness of an existing package
- fixing specific issues: pipeline errors, field mappings, ECS categorization, CEL programs, manifests
- running a full quality improvement pass (review → fix → re-validate loop)
- making minor adjustments to existing data streams
Use create-integration instead when:
- creating a new integration package from scratch
- adding a new data stream to an existing package (
create-integration→references/add-datastream-workflow.md)
Modes
Review only (read-only, no edits)
→ Read references/review-workflow.md fully before starting.
Run automated validation, delegate inspection to a subagent (see Dispatch convention in references/review-workflow.md) pointing it at review-integration/references/reviewer-subagent-guidance.md as its operating manual, present findings with no file changes.
Full improvement pass (analyze → fix → re-validate)
→ Read references/improve-workflow.md fully before starting.
Analyze issues (from prior review or fresh reviewer run), prioritize by severity, fix directly or delegate to subagents, re-validate, and report.
Minor direct fix (no subagents needed)
For small targeted changes you can handle inline without loading a full workflow:
- manifest field corrections (title, description, format_version, conditions, owner)
- changelog entries and version bumps — see
package-specskill - documentation placeholder text in
_dev/build/docs/README.md _dev/build/build.ymlcreation or ECS reference bump- simple field file fixes (typos, missing entry, duplicate removal)
- CEL formatting only — run
celfmt -s -agent -i cel.yml.hbs -o cel.yml.hbsin the stream'sagent/stream/directory
Run elastic-package lint and elastic-package check after any direct edits to confirm no regressions.
Skills to load for direct work
elastic-package-cli— validation and test commandspackage-spec— manifest rules, version bumps, and changelog schema
Do not load domain-specific skills (pipelines, CEL, ECS, field mappings) into your own context. Delegate to subagents that already have that knowledge.
Subagents
All specialised work is delegated to the platform's generic / general-purpose subagent (Cursor: generalPurpose Task agent; Claude Code: general-purpose Task agent; or the equivalent on other platforms). Each task prompt must point the subagent at the relevant *-subagent-guidance.md file by path and instruct it to read that file (plus the skill SKILL.md it lists in "First steps") end-to-end before doing any other work. Do NOT read the guidance file yourself or paste its contents into the task prompt — that doubles its context cost. Pass only the path plus the task-specific context. The subagent will load the manual itself in its own fresh context. Full dispatch rules and per-workflow detail live in references/review-workflow.md and references/improve-workflow.md.
| Subagent guidance file | Use for |
review-integration/references/reviewer-subagent-guidance.md | Thorough read-only quality inspection: classifies files by domain, loads all relevant domain skills and checklists via the review-integration skill, returns severity-ranked, domain-tagged findings |
ingest-pipelines/references/builder-subagent-guidance.md | Pipeline fixes: JSE00001, error handling, processor tags, ECS categorization, field definitions, test fixtures |
cel-programs/references/builder-subagent-guidance.md | CEL fixes: program logic, cursor management, error handling, mito validation, mock API, cel.yml.hbs template, manifest var cleanup |
When delegating, provide the subagent with: package path, data stream path, specific issues to fix (paste findings), sample data if relevant, and any constraints.
Data anonymization
All data committed must be fully anonymized — no real IPs, hostnames, emails, tokens, or org identifiers in any committed file. When fixing or adding test fixtures, mock responses, sample events, or documentation examples, verify all values are synthetic. Anonymize any real data found as part of the improvement pass.
References
references/review-workflow.md— read-only review workflow (phases 1–4, mandatory checklists, output format)references/improve-workflow.md— full improvement workflow (analyze → prioritize → fix → re-validate → report)
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
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.

