CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

adobe/aem-cloud-service

All AEM as a Cloud Service skills: component development, Workflow model design, development, triggering, launchers, debugging, and triaging, Dispatcher config authoring, advisory, incident response, performance tuning, and security hardening, Rapid Development Environment (RDE) deployment, log inspection, snapshots, and troubleshooting via `aio aem rde`, Jackrabbit Oak query/index tuning (property, Lucene index definitions), and extracting/inventorying JCR queries (XPath, SQL2, QueryBuilder) across a codebase.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

shared-principles.mdskills/code-assessment/references/

Design principles

The why behind the code-assessment standard. The step-by-step is in runbook.md; this captures the design decisions a contributor must not quietly undo when adding patterns. Per-run conduct — surgical edits, branch/in-place, rollback, skip-with-reason — is stated as rules in ../SKILL.md and the runbook and is not repeated here.

Warn, don't gate

Cheap checks run early, but they warn — they don't block. A dirty working tree or a failing baseline mvn compile is recorded and surfaced, not treated as a stop. The only hard stops are real safety issues: a verification failure after edits (triggers rollback) and an existing autofix/* branch without user consent.

Why: developers routinely have WIP changes or an already-broken HEAD and still want a findings report or a targeted fix. A run that exits before producing anything useful helps no one. Prefer warn + report + ask over stop + fix-your-environment-first.

Detection and remediation are separable

A pattern has two distinct jobs — detection (find instances) and remediation (fix them) — that communicate only through the findings shape (pattern, file, line, snippet). The expert skill's Discovery section owns detection; its recipe owns remediation.

Why: a clean seam lets either side change without disturbing the other — most importantly, the detection method can be upgraded without rewriting the fix. A recipe must never assume how its findings were produced.

Determinism-first detection

Detection runs through the analyzer (../scripts/analyze.sh): it parses the workspace once and runs the enabled detectors over that single parse, emitting findings in the shared shape. This is deterministic and reproducible, and it scales — the expensive read/parse is paid once per file, not once per pattern.

Why: re-scanning the source per pattern does not scale as the catalog grows; a single parse plus cheap per-detector matching does. Detection is therefore a deterministic, local, zero-network step. Because detection and remediation are separable, a new detector slots into the analyzer without touching any recipe or the runbook. Patterns without an analyzer detector yet fall back to an LLM scan (catalog detection: scan) until one is built.

One pattern per session

A report may span every pattern found, but applying fixes touches exactly one pattern per session; the rest go to deferred[] for a follow-up run.

Why — four independent, load-bearing reasons:

  • Atomic revert — one pattern's edits revert as a coherent set; mixing two makes git restore unsafe to reason about.
  • Coherent review — a diff that tells one story is far faster to review than a mixed-purpose one.
  • Recipe isolation — each pattern's recipe has its own decision table and skip policy; one at a time keeps attention focused.
  • Bounded context — combined pattern outputs can blow past the model's effective context.

"Fix everything" is therefore refused for the apply phase: list the patterns, ask the user to pick one.

Scope discipline

Edit only what the source named: the user's paths/coordinates, or what the recipe's antipattern actually matched. Never opportunistically clean up nearby code.

Why: scope discipline is what makes the skill trustworthy. The moment it edits outside its stated input, the developer can no longer review the diff without auditing the whole project.


Where to read next

  • ../SKILL.md — control plane: routing + classification.
  • runbook.md — the standard run procedure.
  • git-workflow.md — run-log schema, branch / in-place mechanics.
  • ../<pattern>/SKILL.md + recipe.md — per-pattern expert skills.

skills

README.md

tile.json