Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .agents/skills/adobe-data-ai/meta-build/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: meta-build
description: Iteratively build an application or game phase-by-phase in clean subagents, reviewing each phase and refining the build-* skills / rules until each is optimal, then summarizing.
input: a prompt describing the application or game to build
options:
target = build-application # build command to exercise: build-application | build-game | build-feature | a single build-<phase>
maxIterations = 4 # attempts per phase before moving on
target: build-application # build command to exercise: build-application | build-game | build-feature | a single build-<phase>
maxIterations: 4 # attempts per phase before moving on
---

Purpose: exercise and **polish the build-* skills and the rules they reference**, using
Expand Down
1 change: 1 addition & 0 deletions .agents/skills/adobe-data-ai/x-alpha/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: x-alpha
description: returns the string "alpha"
input: void
output: string
---
Expand Down
1 change: 1 addition & 0 deletions .agents/skills/adobe-data-ai/x-beta/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: x-beta
description: returns the string "beta"
input: void
output: string
---
Expand Down
1 change: 1 addition & 0 deletions .agents/skills/adobe-data-ai/x-double/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: x-double
description: returns its number input doubled
input: number
output: number
---
Expand Down
1 change: 1 addition & 0 deletions .agents/skills/adobe-data-ai/x-pow/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: x-pow
description: returns base raised to exponent
input:
base: number
exponent: number
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "data-monorepo",
"version": "0.10.30",
"version": "0.10.31",
"private": true,
"engines": {
"node": ">=24"
Expand Down
2 changes: 1 addition & 1 deletion packages/data-ai/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adobe-data-ai",
"version": "0.10.30",
"version": "0.10.31",
"description": "Architecture skills for @adobe/data — data-oriented modelling, archetype iteration, hot-path performance, and related conventions.",
"author": {
"name": "Adobe"
Expand Down
5 changes: 3 additions & 2 deletions packages/data-ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/data-ai",
"version": "0.10.30",
"version": "0.10.31",
"description": "Cross-agent architecture skills for @adobe/data — installable as a Claude Code plugin or copied into any Agent-Skills-compatible agent (Cursor, Codex).",
"type": "module",
"private": false,
Expand Down Expand Up @@ -39,7 +39,8 @@
"devDependencies": {
"@adobe/data": "workspace:*",
"typescript": "^5.8.3",
"vitest": "^5.0.5"
"vitest": "^5.0.5",
"yaml": "^2.9.1"
},
"license": "MIT"
}
4 changes: 2 additions & 2 deletions packages/data-ai/skills/meta-build/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ disable-model-invocation: true
description: Iteratively build an application or game phase-by-phase in clean subagents, reviewing each phase and refining the build-* skills / rules until each is optimal, then summarizing.
input: a prompt describing the application or game to build
options:
target = build-application # build command to exercise: build-application | build-game | build-feature | a single build-<phase>
maxIterations = 4 # attempts per phase before moving on
target: build-application # build command to exercise: build-application | build-game | build-feature | a single build-<phase>
maxIterations: 4 # attempts per phase before moving on
---

Purpose: exercise and **polish the build-* skills and the rules they reference**, using
Expand Down
1 change: 1 addition & 0 deletions packages/data-ai/skills/x-alpha/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: x-alpha
description: returns the string "alpha"
input: void
output: string
---
Expand Down
1 change: 1 addition & 0 deletions packages/data-ai/skills/x-beta/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: x-beta
description: returns the string "beta"
input: void
output: string
---
Expand Down
1 change: 1 addition & 0 deletions packages/data-ai/skills/x-double/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: x-double
description: returns its number input doubled
input: number
output: number
---
Expand Down
1 change: 1 addition & 0 deletions packages/data-ai/skills/x-pow/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: x-pow
description: returns base raised to exponent
input:
base: number
exponent: number
Expand Down
56 changes: 56 additions & 0 deletions packages/data-ai/test/skills.test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// © 2026 Adobe. MIT License. See /LICENSE for details.
//
// Every SKILL.md in the monorepo must have frontmatter that a strict YAML parser
// accepts, because agent hosts reject a skill whose frontmatter does not parse.

import { describe, expect, it } from "vitest";
import { readdirSync, readFileSync } from "node:fs";
import { basename, dirname, join, relative } from "node:path";
import { fileURLToPath } from "node:url";
import { parseDocument } from "yaml";

const repositoryRoot = join(dirname(fileURLToPath(import.meta.url)), "..", "..", "..");
const skippedDirectories = new Set(["node_modules", ".git"]);

function findSkillFiles(directory) {
return readdirSync(directory, { withFileTypes: true }).flatMap((entry) => {
const path = join(directory, entry.name);
if (entry.isDirectory()) {
return skippedDirectories.has(entry.name) ? [] : findSkillFiles(path);
}
return entry.name === "SKILL.md" ? [path] : [];
});
}

function parseFrontmatter(text) {
const match = /^---\r?\n([\s\S]*?)\r?\n---\r?\n/.exec(text);
return match ? parseDocument(match[1]) : undefined;
}

const skillFiles = findSkillFiles(repositoryRoot);

describe("SKILL.md frontmatter", () => {
it("finds the monorepo's skills", () => {
expect(skillFiles.length).toBeGreaterThan(0);
});

describe.each(skillFiles.map((file) => [relative(repositoryRoot, file), file]))("%s", (_, file) => {
const document = parseFrontmatter(readFileSync(file, "utf8"));

it("has frontmatter delimited by ---", () => {
expect(document).toBeDefined();
});

it("is valid YAML", () => {
expect(document?.errors.map((error) => error.message)).toEqual([]);
expect(document?.warnings.map((warning) => warning.message)).toEqual([]);
});

it("names the skill after its directory and describes it", () => {
const frontmatter = document?.toJS();
expect(frontmatter?.name).toBe(basename(dirname(file)));
expect(typeof frontmatter?.description).toBe("string");
expect(frontmatter?.description.trim()).not.toBe("");
});
});
});
2 changes: 1 addition & 1 deletion packages/data-gpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/data-gpu",
"version": "0.10.30",
"version": "0.10.31",
"description": "Adobe data WebGPU plugins and types for graphics and compute",
"type": "module",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/data-lit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/data-lit",
"version": "0.10.30",
"version": "0.10.31",
"description": "Adobe data Lit bindings - hooks, elements, decorators",
"type": "module",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/data-persistence/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/data-persistence",
"version": "0.10.30",
"version": "0.10.31",
"description": "Worker-based incremental persistence layer for @adobe/data ECS over OPFS (browser) and node:fs (server).",
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/data-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/data-react",
"version": "0.10.30",
"version": "0.10.31",
"description": "Adobe data React bindings — hooks and context for ECS database",
"type": "module",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/data-rpc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/data-rpc",
"version": "0.10.30",
"version": "0.10.31",
"description": "Schema-driven, bidirectional projection of @adobe/data async data services across a boundary (iframe / MessagePort / Worker). Only Data crosses the wire.",
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/data-solid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/data-solid",
"version": "0.10.30",
"version": "0.10.31",
"description": "Adobe data SolidJS bindings — context and provider for ECS database",
"type": "module",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/data-sync/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/data-sync",
"version": "0.10.30",
"version": "0.10.31",
"description": "Multi-user real-time synchronisation for @adobe/data ECS — server, client, and in-process loopback.",
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/data-testing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/data-testing",
"version": "0.10.30",
"version": "0.10.31",
"description": "Conformance-testing utilities (Match + Conformance runners) for @adobe/data ECS features",
"type": "module",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/data/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/data",
"version": "0.10.30",
"version": "0.10.31",
"description": "Adobe data oriented programming library",
"type": "module",
"sideEffects": false,
Expand Down
Loading
Loading