Repository navigation
feat(shopware-knowledge): add skills-only development plugin - #203
Viktor Khliupko (biotech-shopware) wants to merge 1 commit into
Conversation
Make version-aware Shopware 6.6/6.7 development and review guidance available through native Claude Code and Codex installation and portable Agent Skills exports. Bundle the references with shopware-development so installations share one self-contained corpus without MCP services, hooks or tool pre-approvals. Leave specialized workflows with existing plugins. Add source/applicability metadata, fixed evaluation fixtures and package checks to catch broken references, missing license notices and export drift. Run structural CI without model calls and remove the Codex registry tests’ single-plugin assumption. Co-authored-by: Rune Laenen <rune@laenen.me>
|
Martin Bens (@SpiGAndromeda) ready for review. Source PR #5 is merged into dev at 69ad424bdd125d7c7c865e260e56fd64f6c014b1, preserving contributor history; its post-merge CI is green. All four equivalent hosted workflows on the exact upstream head/base now pass in the fork, including 1,559 BATS cases with zero failures/skips and the full portable build matrix. Run/artifact links and the verified artifact comparison are in the updated PR description. The temporary validation PR is closed without merging and its branch is retained. Upstream workflow runs still require your maintainer approval; this account cannot approve them or assign reviewers. Claude live model validation remains explicitly unverified. No upstream merge, release or tag has been performed. |
Shopware development guidance currently lives in separate skill installations.
shopware-knowledgebrings the sharedshopware-developmentskill into this marketplace for Claude Code and Codex, with portable export for clients that use standalone skills. The first contribution is skills-only. It needs no MCP server, hooks, credentials, or additional plugin to work.Merged source
Source PR #5 is merged into
devat69ad424. A normal merge preserves the original contributor history. The merge tree matches the reviewed source exactly, and post-merge CI passes. This upstream contribution remains onai-tooling-refactoring; no upstream merge, release, or tag is requested here.Runtime contract
The plugin keeps the
shopware-developmentinvocation name and targets Shopware 6.7 with explicit 6.6 compatibility. Classic storefront and backend development remain central. Existing Store API and separate-frontend ownership/security boundaries are retained when relevant, without expanding composable-frontend coverage.The entrypoint selects review, implementation, planning, debugging, or research mode and links directly to the relevant references. Detailed findings and PR/QA templates load only for their task. References do not limit investigation depth or solution breadth. User instructions, repository overlays, and runtime permissions still apply; the knowledge skill grants no permission to edit, run commands, or delegate work.
Installed
test-writing,contributor-writing,shopware-env, andshopware-documentationretain ownership of their specialized workflows. Standalone Shopware testing context and output templates remain available without those plugins. The corpus is bundled inside the skill, so a portable export does not depend on files outside its installation.Knowledge preserved and corrected
The merged source accounts for every baseline rule/example as retained, moved, corrected, or retired. It includes the original commits from the local-development, missing-facts, and Administration/storefront contributions; CMS guidance was already present. The upstream commit credits that contribution without importing the source repository's history or maintenance ledger into the marketplace.
Unsupported universal operational thresholds, compulsory diagnostic-tool installation, blanket database prohibitions and unrelated fixed tool-version prescriptions were removed or scoped to evidence. No financial, ownership, cache-isolation or merchant-data-retention invariant was removed to shorten the entrypoint.
The preservation ledger accounts for 2,457 units: 2,004 retained, 28 moved, 417 corrected, and 8 retired self-check/provenance or unsupported-assertion units. This is accounting, not proof that every sentence is correct. Correction evidence identifies the checked contracts.
Marketplace integration
.codex-plugin/plugin.jsonwith the same skill corpus andAVAILABLEmarketplace registration. Noagents/openai.yamlcompatibility assumption..agent-skillsopt-in uses the existing exporter and requiredskills-refvalidation; the exported body/reference bytes remain unchanged and the original MIT notice travels with every installation.knowledge-index.jsonholds stable topic identifiers, version/feature applicability and source anchors. The agent does not classify the corpus on every request. Filtered MCP delivery can use the same index later, but no retrieval server or embedding dependency is introduced here.Validation performed
Checks were rerun against upstream
a276558d12d0e09696fb9d1a7b4cd1925c44baf6. Core investigation used Shopwarev6.7.15.1with targetedv6.6.10.30comparisons.skills-ref, YAML/frontmatter and ZIP byte-parity checks pass.The paired cases cover payment authority, ownership, renewal retries, cart I/O, cache isolation, concurrent queue work, indexers, translated CMS configuration, parent save flow, lifecycle deployment, accessibility, 6.6 compatibility and valid controls. They are small review fixtures, not full Shopware applications. Arm order was not randomized and these observations do not establish statistical superiority or universal finding stability.
Hosted CI evidence
The exact contribution head
bc8d14150f27b010459dd07d35d32ec86b11f7b0against basea276558d12d0e09696fb9d1a7b4cd1925c44baf6also passed the unmodified pull-request workflows in the contributor fork.shopware-development. The release-publishing job was skipped for the PR event.The portable Shopware artifact was downloaded and compared with the reviewed portable export. Every packaged file matches, including the original MIT notice. The temporary validation PR is closed without merging; the contribution branch is retained.
Upstream's own workflow runs still require maintainer approval for an external contribution. Passing fork checks are equivalent hosted evidence on the same head/base, not upstream approval or a green upstream check status.
QA guide
Use a clean checkout of this PR. Run the following from the repository root in one Python environment with the pinned dependencies installed:
The package validator invokes the existing portable exporter and
skills-ref; missing validation dependencies fail rather than turning into a skipped success. The fixturecheckcommand does not invoke a model. Set up the repository's pinned BATS dependencies first with.github/scripts/setup-bats.shif necessary.The recorded full-suite run used
--jobs 8 --no-parallelize-within-fileswith GNU Parallel. The serial command above runs the same cases without that extra dependency. Relative-worktree fixtures need Git 2.48 or newer; this is a host-test prerequisite, not a new Shopware application requirement.shopware-knowledgeand verify it is enabled at0.10.0; invoke/shopware-knowledge:shopware-development. Expect the relevant relative references to resolve with no MCP setup or external permission granted by the skill.shopware-development, then ask a payment, cache or CMS question. Expect the matching topic references, not the entire corpus, to be read.eval/shopware-knowledge/cases.json. Inspect both the proposed failure flow and the clean-control expectation before running a model.python3 eval/shopware-knowledge/run.py run --case c13 --runtime codex --skill plugins/shopware-knowledge/skills/shopware-development --execute. Expect the valid formatter to remain clean and fixture hashes to stay unchanged. Without--execute, the runner only prints its plan.--runtime claude, then run the relevant paired cases before claiming dual-runtime behavioral equivalence. Authentication is required; package installation alone is not that proof.test-writing,contributor-writing,shopware-envandshopware-documentation. Expect the specialized installed workflow to own its task, with the domain reference available as context and a standalone fallback when the other plugin is absent.shopware-developmentinstallation should not be mistaken for the new plugin; remove only the intended redundant copy. Do not overwrite active global skills as part of QA.Risk and remaining verification
The runtime change is instruction behavior, not application code. Regressions could include missed topic routing, misleading version assumptions, speculative review findings or conflicts with specialized plugins. The preservation ledger, negative fixtures, source anchors, portable-byte checks and namespaced tests address those risks without asserting that every possible project is covered.
Claude live model tests remain unverified because the available CLI is not authenticated. Native packaging and actual Claude installation pass. Interactive IDE/app discovery, real Shopware/container integration, browser/assistive-technology behavior, provider enforcement, concurrency recovery and reverse-proxy/search rollout still require their own environments. PHP snippets were linted on PHP 8.5, not a separate PHP 8.2 runtime.
All checked relative runtime citations resolve. The host's broader style checker still reports inherited bare-path style findings in the corpus; some are literal instruction operands. These are not unresolved links, and the PR does not claim a clean strict-style run. The plugin's human-facing wrappers pass the citation/style check.
The initial macOS full-suite attempt lacked
ugrepand was stopped. An Ubuntu 24.04 probe with Git 2.43 then reproduced the same relative-worktree membership failure on both the candidate and untouched upstream. Neither incomplete probe is counted as a pass. The completed Ubuntu 26.04/Git 2.53 non-root run passes all 1,559 cases; no unrelated runtime was changed. Upstream GitHub Actions still require maintainer approval for this external contribution, so local success is not presented as a green upstream CI run.Scope and release
0.10.0is prepared metadata, not a published release. No tags, existing release histories, active global installs, unrelated plugin runtimes or user configuration are changed. The optional MCP retrieval layer remains a separate follow-up. Monthly source/framework/PHPStan review is documented as a maintenance cadence, not an installed background job.References