Skip to content

Clarify Makers dev script usage in skills#5

Merged
vincentism merged 9 commits into
mainfrom
fix/makers-agent-dev-scripts
Jul 9, 2026
Merged

Clarify Makers dev script usage in skills#5
vincentism merged 9 commits into
mainfrom
fix/makers-agent-dev-scripts

Conversation

@QT-7274

@QT-7274 QT-7274 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Document that Agent project dev scripts must remain frontend dev servers.
  • Add makers:dev guidance for EdgeOne Makers local development across CLI, recipes, framework references, and review checklist.
  • Clarify that Agent routes should be tested through the Makers proxy URL, not the raw frontend port.

Hooks slim-down (align with docs/plugin-hooks-vs-context-and-tools.md)

Test plan

  • Searched source skills for invalid dev script patterns.
  • Confirmed linter reports no issues for updated skill files.
  • node --test hooks/*.test.mjs → 12/12 pass (validate-write + signal-log).

@vincentism vincentism left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 跟主干分支有冲突
  2. docs不要提交

Comment thread skills/makers-agents/SKILL.md Outdated
"scripts": {
"build": "edgeone makers build",
"deploy": "edgeone makers deploy"
"dev": "vite --host 127.0.0.1",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果纯静态项目,给出这样的示例,可能会引导ai包一层vite,会很多余

drogbaqu and others added 9 commits July 7, 2026 16:27
Document that package scripts should keep frontend dev servers separate from the EdgeOne Makers wrapper to avoid recursive local dev startup.

Co-authored-by: Cursor <cursoragent@cursor.com>
- drop SessionStart/UserPromptSubmit/PreToolUse injection+dedup+chainTo
- keep validate as standalone stateless validate-write.mjs
- hooks.json: PreToolUse on write tools only
- strip pathPatterns/bashPatterns/chainTo from SKILL.md (keep pathPatterns on edge-functions as validate scope)
- move chainTo cross-refs into SKILL.md prose
- mark #6/#7/#8/#9/#12 deprecated in feature.yaml
- runtime ~700 -> ~150 lines, 3 hook events -> 1, drop .edgeone state

Co-authored-by: Cursor <cursoragent@cursor.com>
- makers-edge-functions pathPatterns: add edge-functions/** (SKILL.md prose uses edge-functions/, old functions/** never matched)
- delete unreferenced on-agent-write.sh, on-edgeone-cmd.sh (superseded by validate-write)
- add edge-functions path test case

Co-authored-by: Cursor <cursoragent@cursor.com>
- add .claude-plugin/marketplace.json (name/owner/plugins, source: ./)
- migrate manifest.json -> plugin.json (hooks: ./hooks/hooks.json, author object)
- enables /plugin marketplace add + /plugin install edgeone-makers@edgeone-makers
- README: document Claude Code marketplace install

Co-authored-by: Cursor <cursoragent@cursor.com>
- .codebuddy-plugin/marketplace.json: standard name (edgeone-makers) for public install
- codebuddy installs via plugin marketplace like Claude Code

Co-authored-by: Cursor <cursoragent@cursor.com>
- align with Cursor official plugin manifest (name/description/version/author object)
- skills/hooks auto-discovered from repo root default dirs
- drop explicit skills list (default scan skills/)

Co-authored-by: Cursor <cursoragent@cursor.com>
…ols plugin)

- validate-write.test: expect edgeone-makers-edge-functions (main renamed skills with edgeone- prefix)
- marketplace.json (.claude/.codebuddy): plugins[].name edgeone-makers -> edgeone-makers-tools (match plugin.json name)

Co-authored-by: Cursor <cursoragent@cursor.com>
… from PR

review #5 feedback:
- drop duplicated dev/package.json scripts guidance across skills (CLI handles compat)
- remove vite examples that could mislead AI into wrapping static projects
- keep CLI command refs (makers dev/build) and preview rules; untouched
- restore Claude Code marketplace install option in README

- remove docs/plugin-hooks-vs-context-and-tools.md and features/.../feature.yaml from PR (reviewer: docs should not be submitted)

Co-authored-by: Cursor <cursoragent@cursor.com>
@QT-7274
QT-7274 force-pushed the fix/makers-agent-dev-scripts branch from f752d96 to 809ef8c Compare July 8, 2026 08:34
@vincentism
vincentism merged commit 23bec74 into main Jul 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants