100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code
Take the shebang out of four asset scripts so the plugin holds no restricted file
Dead Internetbbb6bfb11867
diff --git a/plugins/100x/skills/100x/assets/asset-check.mjs b/plugins/100x/skills/100x/assets/asset-check.mjsindex 80a6b3d..0179656 100644--- a/plugins/100x/skills/100x/assets/asset-check.mjs+++ b/plugins/100x/skills/100x/assets/asset-check.mjs@@ -1,4 +1,3 @@-#!/usr/bin/env node// Asset check for products whose art, sound or models are the product. Copy into the project, for example .100x/must-not-break/.// node asset-check.mjs <folder> [--max-kb 1024] [--max-total-mb 25] [--min-px 16]// Checks. there are assets, every file opens (real header, not empty), every file is under budget, the whole folder is under budget,diff --git a/plugins/100x/skills/100x/assets/economy-simulator.mjs b/plugins/100x/skills/100x/assets/economy-simulator.mjsindex 9733864..4cfa04f 100644--- a/plugins/100x/skills/100x/assets/economy-simulator.mjs+++ b/plugins/100x/skills/100x/assets/economy-simulator.mjs@@ -1,4 +1,3 @@-#!/usr/bin/env node// Idle game economy simulator. Copy into the project, for example .100x/must-not-break/economy-simulator.mjs.// Replace the model block with the game's own rules. If the rules live inside UI code, extract them first// into pure functions of state and elapsed seconds. The rules must be importable for this to prove anything.diff --git a/plugins/100x/skills/100x/assets/fresh-data-check.mjs b/plugins/100x/skills/100x/assets/fresh-data-check.mjsindex d99c0b6..6d3d1e5 100644--- a/plugins/100x/skills/100x/assets/fresh-data-check.mjs+++ b/plugins/100x/skills/100x/assets/fresh-data-check.mjs@@ -1,4 +1,3 @@-#!/usr/bin/env node// Data fresh-data check for apps that show live or cached data. Copy into the project, for example .100x/must-not-break/.// node fresh-data-check.mjs <url> [--field updated_at] [--max-age-hours 24] [--array items] [--timeout 10000]// Checks. the request succeeds in time, the body is JSON, the timestamp field is recent, a named array is not empty.diff --git a/plugins/100x/skills/100x/assets/property-checker.mjs b/plugins/100x/skills/100x/assets/property-checker.mjsindex efe6200..37976a9 100644--- a/plugins/100x/skills/100x/assets/property-checker.mjs+++ b/plugins/100x/skills/100x/assets/property-checker.mjs@@ -1,4 +1,3 @@-#!/usr/bin/env node// Property checker. Copy into the project, for example .100x/must-not-break/property-checker.mjs.// It explores every state a small model of the software can reach and checks the properties you wrote.// This is explicit-state model checking with the project's own functions as the transitions.diff --git a/skills/100x/assets/asset-check.mjs b/skills/100x/assets/asset-check.mjsindex 80a6b3d..0179656 100644--- a/skills/100x/assets/asset-check.mjs+++ b/skills/100x/assets/asset-check.mjs@@ -1,4 +1,3 @@-#!/usr/bin/env node// Asset check for products whose art, sound or models are the product. Copy into the project, for example .100x/must-not-break/.// node asset-check.mjs <folder> [--max-kb 1024] [--max-total-mb 25] [--min-px 16]// Checks. there are assets, every file opens (real header, not empty), every file is under budget, the whole folder is under budget,diff --git a/skills/100x/assets/economy-simulator.mjs b/skills/100x/assets/economy-simulator.mjsindex 9733864..4cfa04f 100644--- a/skills/100x/assets/economy-simulator.mjs+++ b/skills/100x/assets/economy-simulator.mjs@@ -1,4 +1,3 @@-#!/usr/bin/env node// Idle game economy simulator. Copy into the project, for example .100x/must-not-break/economy-simulator.mjs.// Replace the model block with the game's own rules. If the rules live inside UI code, extract them first// into pure functions of state and elapsed seconds. The rules must be importable for this to prove anything.diff --git a/skills/100x/assets/fresh-data-check.mjs b/skills/100x/assets/fresh-data-check.mjsindex d99c0b6..6d3d1e5 100644--- a/skills/100x/assets/fresh-data-check.mjs+++ b/skills/100x/assets/fresh-data-check.mjs@@ -1,4 +1,3 @@-#!/usr/bin/env node// Data fresh-data check for apps that show live or cached data. Copy into the project, for example .100x/must-not-break/.// node fresh-data-check.mjs <url> [--field updated_at] [--max-age-hours 24] [--array items] [--timeout 10000]// Checks. the request succeeds in time, the body is JSON, the timestamp field is recent, a named array is not empty.diff --git a/skills/100x/assets/property-checker.mjs b/skills/100x/assets/property-checker.mjsindex efe6200..37976a9 100644--- a/skills/100x/assets/property-checker.mjs+++ b/skills/100x/assets/property-checker.mjs@@ -1,4 +1,3 @@-#!/usr/bin/env node// Property checker. Copy into the project, for example .100x/must-not-break/property-checker.mjs.// It explores every state a small model of the software can reach and checks the properties you wrote.// This is explicit-state model checking with the project's own functions as the transitions.diff --git a/test/claude-plugin.test.mjs b/test/claude-plugin.test.mjsindex 1466adb..f923a31 100644--- a/test/claude-plugin.test.mjs+++ b/test/claude-plugin.test.mjs@@ -43,6 +43,25 @@ test('the plugin folder holds only what the directory accepts without a reviewerassert.ok(!fs.existsSync(path.join(dir, '.mcp.json')));});+// The directory accepts these only from a Verified organization, and the portal blocks the submission for any other: see LOCAL_CODE_FILE_TYPE in its report.+test('the plugin folder holds no script, no package-manager file and none of the file kinds the portal restricts to Verified organizations', () => {+ const utf8 = new TextDecoder('utf-8', { fatal: true });+ const packageFiles = /^(package(-lock)?\.json|npm-shrinkwrap\.json|pnpm-(lock|workspace)\.ya?ml|yarn\.lock|bun\.lockb?|requirements[^/]*\.txt|pyproject\.toml|Pipfile(\.lock)?|poetry\.lock|uv\.lock|Gemfile(\.lock)?|\.npmrc|\.yarnrc(\.yml)?|bunfig\.toml|uv\.toml)$/i;+ for (const rel of files) {+ const name = path.basename(rel);+ const bytes = fs.readFileSync(path.join(dir, rel));+ assert.ok(!packageFiles.test(name), `${rel} is a package manager file`);+ assert.ok(!/^(claude|claude\.local|agents)\.md$/i.test(name), `${rel} is a file Claude Code reads as instructions`);+ assert.ok(!/[:\\<>"|?*]/.test(rel) && !/(^|\/)(con|prn|aux|nul|com\d|lpt\d)(\.|\/|$)/i.test(rel), `${rel} has a name not every computer keeps`);+ if (IMAGES.has(path.extname(rel).toLowerCase())) continue;+ assert.notEqual(bytes.subarray(0, 2).toString('latin1'), '#!', `${rel} starts with #!`);+ assert.ok(!bytes.includes(0), `${rel} holds a NUL byte`);+ assert.doesNotThrow(() => utf8.decode(bytes), `${rel} is not UTF-8`);+ }+ const inManifestFolder = files.filter((rel) => rel.startsWith('.claude-plugin/'));+ assert.deepEqual(inManifestFolder, ['.claude-plugin/plugin.json'], 'only the manifest goes in .claude-plugin');+});+test('the icon is a square PNG of 512 to 2048 pixels under 2 MB, which the directory takes once, at the first submission', () => {assert.equal(manifest.icon, `./${ICON}`);const bytes = fs.readFileSync(path.join(dir, ICON));