polishup-cli 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "polishup-local",
3
+ "interface": {
4
+ "displayName": "PolishUp"
5
+ },
6
+ "plugins": [
7
+ {
8
+ "name": "polishup",
9
+ "source": {
10
+ "source": "local",
11
+ "path": "./"
12
+ },
13
+ "policy": {
14
+ "installation": "AVAILABLE",
15
+ "authentication": "ON_INSTALL"
16
+ },
17
+ "category": "Productivity"
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://antigravity.google/schemas/v1/plugin.json",
3
+ "name": "polishup",
4
+ "displayName": "PolishUp",
5
+ "version": "0.3.0",
6
+ "description": "An AI agent skill for writing, design, code, and more. It combines task-specific research and practical guidance to create, refine, and review work while reducing generic AI output.",
7
+ "suggestedPrompts": [
8
+ "Use PolishUp to review this draft without changing it.",
9
+ "Use PolishUp to refine this interface while preserving its visual identity.",
10
+ "Use PolishUp to plan a Blender product render using research relevant to my version and delivery requirements."
11
+ ]
12
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "polishup-local",
3
+ "owner": {
4
+ "name": "fachriaziz"
5
+ },
6
+ "plugins": [
7
+ {
8
+ "name": "polishup",
9
+ "source": "./",
10
+ "description": "An AI agent skill for writing, design, code, and more. It combines task-specific research and practical guidance to create, refine, and review work while reducing generic AI output."
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "polishup",
3
+ "displayName": "PolishUp",
4
+ "author": {
5
+ "name": "fachriaziz"
6
+ },
7
+ "license": "MIT",
8
+ "homepage": "https://github.com/fachriaziz/polishup",
9
+ "repository": "https://github.com/fachriaziz/polishup",
10
+ "version": "0.3.0",
11
+ "description": "An AI agent skill for writing, design, code, and more. It combines task-specific research and practical guidance to create, refine, and review work while reducing generic AI output."
12
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "polishup",
3
+ "version": "0.3.0",
4
+ "description": "An AI agent skill for writing, design, code, and more. It combines task-specific research and practical guidance to create, refine, and review work while reducing generic AI output.",
5
+ "skills": "./skills/",
6
+ "author": {
7
+ "name": "fachriaziz"
8
+ },
9
+ "license": "MIT",
10
+ "homepage": "https://github.com/fachriaziz/polishup",
11
+ "repository": "https://github.com/fachriaziz/polishup",
12
+ "interface": {
13
+ "displayName": "PolishUp",
14
+ "developerName": "fachriaziz",
15
+ "category": "Productivity",
16
+ "websiteURL": "https://github.com/fachriaziz/polishup",
17
+ "supportURL": "https://github.com/fachriaziz/polishup/issues",
18
+ "shortDescription": "Better writing, design, code",
19
+ "defaultPrompt": [
20
+ "Use PolishUp to review this draft without changing it.",
21
+ "Use PolishUp to refine this interface while preserving its visual identity.",
22
+ "Use PolishUp to plan a Blender product render using research relevant to my version and delivery requirements."
23
+ ]
24
+ }
25
+ }
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Use PolishUp for research-informed creation, refinement, or review across fields
2
+ description: Create, refine, review, or redesign work with PolishUp
3
3
  ---
4
4
  Use the skill with ID `polishup` and follow its instructions for this request:
5
5
 
package/README.md CHANGED
@@ -1,10 +1,8 @@
1
1
  # PolishUp
2
2
 
3
- An agent skill for writing, design, code, and more.
3
+ An AI agent skill for creating, refining, and reviewing writing, designs, code, and more.
4
4
 
5
- PolishUp is an agent skill for creating, refining, and reviewing work. It helps address **AI slop**: generic writing, repetitive interface designs, unsupported claims, and unnecessarily complicated code.
6
-
7
- It uses relevant research and professional guidance while respecting your goals and existing project conventions.
5
+ PolishUp helps reduce common **AI slop**, including generic writing, repetitive designs, unsupported claims, and unnecessarily complex code. It uses relevant guidance and research while respecting your goals and existing project conventions.
8
6
 
9
7
  ## What it covers
10
8
 
@@ -18,6 +16,17 @@ For other fields, PolishUp uses task-specific research and checks. Guidance load
18
16
 
19
17
  An optional [color helper](skills/polishup/references/colors.md) supports contrast checks and palette exploration.
20
18
 
19
+ ## What you can do
20
+
21
+ Ask for an action in your agent's chat. These labels are optional.
22
+
23
+ | Action | What it does | Example request |
24
+ | --- | --- | --- |
25
+ | Review | Reports findings without editing | "Use PolishUp to review this draft without changing it." |
26
+ | Refine | Improves requested parts while preserving the rest | "Use PolishUp to refine this dashboard. Preserve its visual identity." |
27
+ | Create | Produces new work from your brief | "Use PolishUp to write a product announcement from these facts." |
28
+ | Redesign | Reworks the parts you specify | "Use PolishUp to redesign the settings page, keeping its existing flows." |
29
+
21
30
  ## Installation
22
31
 
23
32
  Requires **Node.js 22 or newer**. Choose either option below and run the installer from the project where you want to use PolishUp.
@@ -45,6 +54,8 @@ The installer supports Codex, Claude Code, OpenCode, Cursor, Oh My Pi, Gemini CL
45
54
 
46
55
  Reload your agent's skills or start a new session after installation. Discovery and available commands depend on the agent.
47
56
 
57
+ For a native plugin, use `npx polishup-cli install --plugin --agent codex` or replace `codex` with `claude`. The selected host CLI must be installed. Guided personal setup for these hosts also offers a plugin option.
58
+
48
59
  <details>
49
60
  <summary>Other installation methods</summary>
50
61
 
@@ -67,35 +78,23 @@ Reading the skill requires no Node.js or Python. The optional color helper requi
67
78
 
68
79
  ### Native plugins
69
80
 
70
- The source checkout also includes native plugin manifests. These are separate from the npm skill installer:
81
+ The package includes native plugin manifests and catalogs. `--plugin` delegates installation, updates, and removal to the host's own plugin manager, using the GitHub repository as a persistent source:
71
82
 
72
83
  | Agent | Installation |
73
84
  | --- | --- |
74
- | Claude Code | Load the checkout with `claude --plugin-dir "<path-to-polishup>"` |
75
- | Codex | Add the checkout as a local plugin marketplace, then install `polishup@polishup-local` |
85
+ | Codex / ChatGPT desktop | `polishup install --plugin --agent codex` |
86
+ | Claude Code | `polishup install --plugin --agent claude` |
76
87
  | Antigravity | Install the checkout through its plugin manager |
77
88
 
78
- Use one installation method per agent and scope to avoid duplicate copies.
79
-
80
- </details>
81
-
82
- ## Using the skill
83
-
84
- In your agent's chat, name PolishUp and describe the task:
89
+ Codex CLI plugin installation is personal. Claude Code also accepts `--scope project`. Native host policies and permissions remain in effect. Installing locally does not publish PolishUp to the public plugin directory or install it into web/mobile sessions.
85
90
 
86
- ```text
87
- Use PolishUp to write a product announcement from these facts.
88
- ```
91
+ For source development, Codex accepts `codex plugin marketplace add "<path-to-polishup>"`, then `codex plugin add polishup@polishup-local`. Claude Code accepts `claude --plugin-dir "<path-to-polishup>"` for a local session.
89
92
 
90
- ```text
91
- Use PolishUp to refine this dashboard. Preserve its visual identity and workflows.
92
- ```
93
+ Use one installation method per agent and scope. Existing standalone copies are preserved; remove the old copy through its installer if you want to use only the plugin. Refresh plugins or restart the host afterward.
93
94
 
94
- ```text
95
- Use PolishUp to review this function for unnecessary complexity. Report findings without editing it.
96
- ```
95
+ </details>
97
96
 
98
- Ask it to create new work, refine existing work, review without editing, or redesign specified parts. Refinement preserves existing meaning, identity, and behavior outside the requested changes.
97
+ ## Using the skill
99
98
 
100
99
  These requests go in your agent's chat, not your terminal. You can also use its supported skill shortcuts:
101
100
 
@@ -120,6 +119,7 @@ Run these commands in your terminal. The examples use the globally installed CLI
120
119
  | --- | --- |
121
120
  | `polishup` | Open guided installation or manage existing installations |
122
121
  | `polishup install` | Start installation setup directly |
122
+ | `polishup install --plugin --agent codex` | Install through Codex's native plugin manager |
123
123
  | `polishup update` | Check for a newer published release and update installed skills |
124
124
  | `polishup uninstall` | Remove an installer-managed skill installation |
125
125
  | `polishup color check <foreground> <background>` | Check a color pair's contrast ratio |
@@ -129,6 +129,8 @@ Run these commands in your terminal. The examples use the globally installed CLI
129
129
 
130
130
  Run installation management commands from the target project. `update` applies the published release to selected skill installations; to also replace your globally installed CLI, rerun `npm install -g polishup-cli`.
131
131
 
132
+ For native plugins, use `polishup update --plugin --agent codex` or `polishup uninstall --plugin --agent codex`, replacing `codex` with `claude` when appropriate. These use the host's registered Git marketplace and leave the marketplace available after removal. `--dry-run` previews the native commands without executing them.
133
+
132
134
  <details>
133
135
  <summary>Optional flags and color examples</summary>
134
136
 
package/cli/index.mjs CHANGED
@@ -8,6 +8,7 @@ import { AGENTS, loadPayload, getManualTarget, getTarget, plan, apply } from './
8
8
  import { checkUpdate, forwardedTargetArgs, runNewVersion } from './update.mjs';
9
9
  import { BACK, createPrompts } from './prompts.mjs';
10
10
  import { selectSetup } from './menu.mjs';
11
+ import { PLUGIN_HOSTS, pluginCommands, pluginInvocation, runPlugin } from './plugins.mjs';
11
12
 
12
13
  const packageRoot = fileURLToPath(new URL('../', import.meta.url));
13
14
  const metadata = JSON.parse(fs.readFileSync(path.join(packageRoot, 'package.json'), 'utf8'));
@@ -24,6 +25,7 @@ Usage: ${helpCommand} [install|update|uninstall|color] [options]
24
25
  Choose the harness and location in the menu. Flags are optional:
25
26
  --agent <id[,id...]> Select one or more harnesses (for example codex,claude)
26
27
  --scope project|user Select the installation scope
28
+ --plugin Use the native Codex or Claude Code plugin manager
27
29
  --profile <name> Select an existing Hermes user profile
28
30
  --destination <path> Set a custom manual skill folder (must end in polishup)
29
31
  --dry-run Show changes without writing files
@@ -37,6 +39,7 @@ Examples:
37
39
  ${helpCommand}
38
40
  ${helpCommand} update
39
41
  ${helpCommand} uninstall
42
+ ${helpCommand} install --plugin --agent codex
40
43
  ${helpCommand} install --agent codex,claude --scope project
41
44
  ${helpCommand} install --agent manual --destination ./custom/skills/polishup --scope project
42
45
 
@@ -74,7 +77,7 @@ async function main() {
74
77
  const { values, positionals } = parseArgs({ allowPositionals: true, options: {
75
78
  agent: { type: 'string' }, scope: { type: 'string' }, profile: { type: 'string' }, destination: { type: 'string' }, 'dry-run': { type: 'boolean' },
76
79
  replace: { type: 'boolean' }, help: { type: 'boolean', short: 'h' }, version: { type: 'boolean' },
77
- plain: { type: 'boolean' }, 'no-input': { type: 'boolean' },
80
+ plain: { type: 'boolean' }, 'no-input': { type: 'boolean' }, plugin: { type: 'boolean' },
78
81
  } });
79
82
  let action = positionals[0] || 'install';
80
83
  if (positionals.length > 1 || !['install', 'update', 'uninstall'].includes(action)) throw new Error(`Unknown command: ${positionals.join(' ')}. Run polishup --help.`);
@@ -92,6 +95,32 @@ async function main() {
92
95
 
93
96
  try {
94
97
  ui.intro(`PolishUp ${metadata.version}`);
98
+ const nativePlugins = async (selected, scope) => {
99
+ if (values.profile || values.destination || values.replace) throw new Error('--profile, --destination, and --replace do not apply to native plugins. The host manages plugin locations and conflicts.');
100
+ const operations = selected.map(agent => ({ agent, commands: pluginCommands(agent, action, scope) }));
101
+ console.log(`PolishUp ${metadata.version} | native plugin | ${action} | ${scope}`);
102
+ for (const { agent, commands } of operations) for (const args of commands) console.log(` ${agent} ${args.join(' ')}`);
103
+ if (values['dry-run']) { console.log('Dry run: no native commands were executed.'); return; }
104
+ const invocations = operations.map(({ agent }) => pluginInvocation(agent));
105
+ ui.close();
106
+ for (const [index, { agent }] of operations.entries()) {
107
+ await runPlugin({ agent, action, scope }, { invocation: invocations[index], env: values.plain ? { ...process.env, NO_COLOR: '1' } : process.env });
108
+ console.log(`${PLUGIN_HOSTS[agent]}: native plugin ${action} completed.`);
109
+ if (action !== 'uninstall') {
110
+ const standalone = getTarget({ agent, scope }).skillDir;
111
+ if (fs.existsSync(standalone)) console.log(` Standalone skill also present: ${standalone}. To use only the plugin, remove that copy with ${helpCommand} uninstall --agent ${agent} --scope ${scope}.`);
112
+ }
113
+ }
114
+ console.log('Refresh plugins or start a new session in the host. Other plugins and standalone skill copies were not removed.');
115
+ };
116
+ if (values.plugin) {
117
+ if (!agents.length) {
118
+ if (!ui.interactive) throw new Error('Supply --agent codex or --agent claude for native plugin installation outside an interactive terminal.');
119
+ agents = [await ui.choose('Choose a plugin host', Object.entries(PLUGIN_HOSTS).map(([value, label]) => ({ value, label })))];
120
+ }
121
+ await nativePlugins(agents, values.scope || 'user');
122
+ return;
123
+ }
95
124
  const request = { action, explicitAction: positionals.length > 0, agents: [...agents], values: { ...values } };
96
125
  let draft;
97
126
  while (true) {
@@ -117,6 +146,15 @@ async function main() {
117
146
  const scope = selection.scope;
118
147
  values.profile = selection.profile;
119
148
  values.destination = selection.destination;
149
+ if (ui.interactive && selection.canGoBack && action === 'install' && agents.every(agent => Object.hasOwn(PLUGIN_HOSTS, agent)) &&
150
+ (scope === 'user' || !agents.includes('codex'))) {
151
+ const format = await ui.choose('Installation type', [
152
+ { value: 'skill', label: 'Standalone skill' },
153
+ { value: 'plugin', label: 'Native plugin', hint: 'Managed by the selected host; Codex plugins also support ChatGPT desktop' },
154
+ ], { back: true });
155
+ if (format === BACK) { draft = selection; continue; }
156
+ if (format === 'plugin') { await nativePlugins(agents, scope); return; }
157
+ }
120
158
  if (values.profile && !agents.includes('hermes')) throw new Error('--profile requires Hermes in the selected --agent list.');
121
159
  if (values.destination && !agents.includes('manual')) throw new Error('--destination requires --agent manual.');
122
160
  const payload = loadPayload(packageRoot);
@@ -53,6 +53,8 @@ export function loadPayload(packageRoot) {
53
53
  const license = path.join(skillRoot, 'LICENSE.txt');
54
54
  if (fs.existsSync(license)) files['LICENSE.txt'] = fs.readFileSync(assertSafePath(license));
55
55
  Object.assign(files, filesIn(path.join(skillRoot, 'references'), 'references/'));
56
+ const agents = path.join(skillRoot, 'agents');
57
+ if (fs.existsSync(agents)) Object.assign(files, filesIn(agents, 'agents/'));
56
58
  const scripts = path.join(skillRoot, 'scripts');
57
59
  if (fs.existsSync(scripts)) Object.assign(files, filesIn(scripts, 'scripts/'));
58
60
  const hashes = Object.fromEntries(Object.keys(files).sort().map(file => [file, hash(files[file])]));
@@ -0,0 +1,61 @@
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
+ import { spawn } from 'node:child_process';
4
+ import { detectHarnesses } from './detection.mjs';
5
+
6
+ export const PLUGIN_HOSTS = { codex: 'Codex / ChatGPT desktop', claude: 'Claude Code' };
7
+ const selector = 'polishup@polishup-local';
8
+ const repository = 'fachriaziz/polishup';
9
+
10
+ export function pluginCommands(agent, action, scope = 'user') {
11
+ if (!Object.hasOwn(PLUGIN_HOSTS, agent)) throw new Error('Native plugin installation supports Codex and Claude Code. Use the skill installer for other agents.');
12
+ if (!['install', 'update', 'uninstall'].includes(action)) throw new Error('Invalid plugin action.');
13
+ if (!['user', 'project'].includes(scope)) throw new Error('Invalid plugin scope.');
14
+ if (agent === 'codex' && scope !== 'user') throw new Error('The native Codex CLI manages personal plugins. Use --scope user, or install a project-scoped skill without --plugin.');
15
+ if (agent === 'codex') {
16
+ if (action === 'uninstall') return [['plugin', 'remove', selector]];
17
+ return [action === 'install' ? ['plugin', 'marketplace', 'add', repository]
18
+ : ['plugin', 'marketplace', 'upgrade', 'polishup-local'], ['plugin', 'add', selector]];
19
+ }
20
+ if (action === 'uninstall') return [['plugin', 'uninstall', selector, '--scope', scope]];
21
+ return [action === 'install' ? ['plugin', 'marketplace', 'add', repository]
22
+ : ['plugin', 'marketplace', 'update', 'polishup-local'], ['plugin', action, selector, '--scope', scope]];
23
+ }
24
+
25
+ export function pluginInvocation(agent, { env = process.env, platform = process.platform, launcher } = {}) {
26
+ if (!Object.hasOwn(PLUGIN_HOSTS, agent)) throw new Error('Unsupported plugin host.');
27
+ const detected = launcher ? undefined : detectHarnesses({ env, platform })[agent];
28
+ const executable = launcher || (detected?.status === 'detected' ? detected.evidence : undefined);
29
+ if (!executable) throw new Error(`${PLUGIN_HOSTS[agent]} CLI was not found. Install or update the host CLI, or use its native plugin manager. No host software was installed.`);
30
+ if (platform !== 'win32' || !/\.(cmd|bat)$/i.test(executable)) return { executable, prefix: [] };
31
+ // npm's Windows shims cannot be spawned directly. Resolve the declared Node entry instead.
32
+ const packageName = agent === 'codex' ? '@openai/codex' : '@anthropic-ai/claude-code';
33
+ for (const root of [path.join(path.dirname(executable), 'node_modules', packageName), path.join(path.dirname(executable), '..', packageName)]) {
34
+ const manifest = path.join(root, 'package.json');
35
+ if (!fs.existsSync(manifest)) continue;
36
+ const pkg = JSON.parse(fs.readFileSync(manifest, 'utf8'));
37
+ const relative = typeof pkg.bin === 'string' ? pkg.bin : pkg.bin?.[agent];
38
+ if (pkg.name !== packageName || typeof relative !== 'string') continue;
39
+ const entry = path.resolve(root, relative);
40
+ const contained = path.relative(path.resolve(root), entry);
41
+ if (!contained || contained.startsWith('..') || path.isAbsolute(contained)) throw new Error('Native CLI entry is outside its package.');
42
+ if (fs.statSync(entry, { throwIfNoEntry: false })?.isFile()) return { executable: process.execPath, prefix: [entry] };
43
+ }
44
+ throw new Error('This Windows CLI launcher could not be resolved safely. Use the native plugin commands directly, or install the host native executable.');
45
+ }
46
+
47
+ const runNative = (executable, args, { cwd = process.cwd(), env = process.env } = {}) => new Promise((resolve, reject) => {
48
+ const child = spawn(executable, args, { cwd, env, stdio: 'inherit', shell: false, windowsHide: true });
49
+ child.once('error', error => reject(new Error(`Cannot run native plugin manager: ${error.message}`)));
50
+ child.once('close', (code, signal) => {
51
+ if (code === 0) resolve();
52
+ else if (code === 130 || signal === 'SIGINT') reject(new Error('Cancelled.'));
53
+ else reject(new Error(`Native plugin manager failed (${signal || `exit ${code}`}). Check its output and host CLI version before retrying.`));
54
+ });
55
+ });
56
+
57
+ export async function runPlugin({ agent, action, scope = 'user' }, { invocation, run = runNative, cwd, env = process.env, platform } = {}) {
58
+ const commands = pluginCommands(agent, action, scope);
59
+ const resolved = invocation || pluginInvocation(agent, { env, platform });
60
+ for (const args of commands) await run(resolved.executable, [...resolved.prefix, ...args], { cwd, env });
61
+ }
package/package.json CHANGED
@@ -1,60 +1,68 @@
1
- {
2
- "name": "polishup-cli",
3
- "version": "0.2.0",
4
- "description": "Research-informed guidance for better AI work across writing, design, code, and more.",
5
- "author": "fachriaziz",
6
- "homepage": "https://github.com/fachriaziz/polishup#readme",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/fachriaziz/polishup.git"
10
- },
11
- "bugs": {
12
- "url": "https://github.com/fachriaziz/polishup/issues"
13
- },
14
- "keywords": [
15
- "agent-skills",
16
- "ai-agents",
17
- "writing",
18
- "ui-ux",
19
- "code-quality"
20
- ],
21
- "license": "MIT",
22
- "publishConfig": {
23
- "registry": "https://registry.npmjs.org/"
24
- },
25
- "type": "module",
26
- "bin": {
27
- "polishup": "cli/index.mjs"
28
- },
29
- "engines": {
30
- "node": ">=22"
31
- },
32
- "files": [
33
- "skills/polishup/SKILL.md",
34
- "skills/polishup/LICENSE.txt",
35
- "skills/polishup/references/",
36
- "skills/polishup/scripts/",
37
- ".opencode/commands/polishup.md",
38
- "cli/index.mjs",
39
- "cli/hosts.mjs",
40
- "cli/detection.mjs",
41
- "cli/menu.mjs",
42
- "cli/prompts.mjs",
43
- "cli/installations.mjs",
44
- "cli/update.mjs"
45
- ],
46
- "scripts": {
47
- "start": "node cli/index.mjs",
48
- "test": "npm run check && node --test tests/*.test.mjs",
49
- "sync": "node scripts/prepare-tools.mjs && node scripts/export-native.mjs",
50
- "check": "node scripts/prepare-tools.mjs --check && node scripts/export-native.mjs --check"
51
- },
52
- "devDependencies": {
53
- "colorjs.io": "0.7.1",
54
- "esbuild": "0.28.2"
55
- },
56
- "dependencies": {
57
- "@clack/core": "1.6.0",
58
- "@clack/prompts": "1.9.0"
59
- }
60
- }
1
+ {
2
+ "name": "polishup-cli",
3
+ "version": "0.3.0",
4
+ "description": "An AI agent skill for writing, design, code, and more. It combines task-specific research and practical guidance to create, refine, and review work while reducing generic AI output.",
5
+ "author": "fachriaziz",
6
+ "homepage": "https://github.com/fachriaziz/polishup#readme",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/fachriaziz/polishup.git"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/fachriaziz/polishup/issues"
13
+ },
14
+ "keywords": [
15
+ "agent-skills",
16
+ "ai-agents",
17
+ "writing",
18
+ "ui-ux",
19
+ "code-quality"
20
+ ],
21
+ "license": "MIT",
22
+ "publishConfig": {
23
+ "registry": "https://registry.npmjs.org/"
24
+ },
25
+ "type": "module",
26
+ "bin": {
27
+ "polishup": "cli/index.mjs"
28
+ },
29
+ "engines": {
30
+ "node": ">=22"
31
+ },
32
+ "files": [
33
+ "skills/polishup/SKILL.md",
34
+ "skills/polishup/LICENSE.txt",
35
+ "skills/polishup/agents/",
36
+ "skills/polishup/references/",
37
+ "skills/polishup/scripts/",
38
+ ".opencode/commands/polishup.md",
39
+ "plugin.json",
40
+ ".codex-plugin/plugin.json",
41
+ ".claude-plugin/plugin.json",
42
+ ".claude-plugin/marketplace.json",
43
+ ".antigravity-plugin/plugin.json",
44
+ ".agents/plugins/marketplace.json",
45
+ "cli/index.mjs",
46
+ "cli/hosts.mjs",
47
+ "cli/detection.mjs",
48
+ "cli/menu.mjs",
49
+ "cli/prompts.mjs",
50
+ "cli/plugins.mjs",
51
+ "cli/installations.mjs",
52
+ "cli/update.mjs"
53
+ ],
54
+ "scripts": {
55
+ "start": "node cli/index.mjs",
56
+ "test": "npm run check && node --test tests/*.test.mjs",
57
+ "sync": "node scripts/prepare-tools.mjs && node scripts/export-native.mjs",
58
+ "check": "node scripts/prepare-tools.mjs --check && node scripts/export-native.mjs --check"
59
+ },
60
+ "devDependencies": {
61
+ "colorjs.io": "0.7.1",
62
+ "esbuild": "0.28.2"
63
+ },
64
+ "dependencies": {
65
+ "@clack/core": "1.6.0",
66
+ "@clack/prompts": "1.9.0"
67
+ }
68
+ }
package/plugin.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "polishup",
4
+ "author": {
5
+ "name": "fachriaziz"
6
+ },
7
+ "license": "MIT",
8
+ "homepage": "https://github.com/fachriaziz/polishup",
9
+ "repository": "https://github.com/fachriaziz/polishup",
10
+ "version": "0.3.0",
11
+ "description": "An AI agent skill for writing, design, code, and more. It combines task-specific research and practical guidance to create, refine, and review work while reducing generic AI output.",
12
+ "extensions": {
13
+ "com.openai": {
14
+ "interface": {
15
+ "displayName": "PolishUp",
16
+ "developerName": "fachriaziz",
17
+ "category": "Productivity",
18
+ "websiteURL": "https://github.com/fachriaziz/polishup",
19
+ "supportURL": "https://github.com/fachriaziz/polishup/issues",
20
+ "shortDescription": "Better writing, design, code",
21
+ "defaultPrompt": [
22
+ "Use PolishUp to review this draft without changing it.",
23
+ "Use PolishUp to refine this interface while preserving its visual identity.",
24
+ "Use PolishUp to plan a Blender product render using research relevant to my version and delivery requirements."
25
+ ]
26
+ }
27
+ }
28
+ }
29
+ }
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: polishup
3
3
  license: MIT
4
- description: Guide creation, refinement, and review of deliverables using task-specific research and professional quality criteria. Use when drafting, designing, implementing, editing, debugging, or evaluating work across fields. Includes specialized Writing, UI/UX, and Code references; other fields use task-specific research. Not for casual conversation, standalone factual questions or calculations, or isolated word translations.
4
+ description: Create, refine, review, or redesign work using task-specific research and practical guidance. Use when writing, editing, designing, implementing, debugging, or reviewing work, including tasks outside the bundled Writing, UI/UX, and Code guidance. Not for casual conversation, standalone factual questions, simple calculations, or single-word translations.
5
5
  metadata:
6
6
  version: "0.1"
7
7
  ---
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "PolishUp"
3
+ short_description: "Better writing, design, code"
4
+ default_prompt: "Use $polishup for this task, preserving the requested scope and existing conventions."
@@ -5605,7 +5605,7 @@ async function runColorCommand(args) {
5605
5605
  var toolVersion, engineVersion, init_color2 = __esm({
5606
5606
  "cli/color.mjs"() {
5607
5607
  init_src();
5608
- toolVersion = "0.2.0", engineVersion = "0.7.1";
5608
+ toolVersion = "0.3.0", engineVersion = "0.7.1";
5609
5609
  }
5610
5610
  });
5611
5611