mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-23 08:15:29 +00:00
Add UI Canvas: an agent writes a self-contained HTML mockup, the human edits
it directly in the browser (select, resize, reorder, nudge, edit text,
remove, restyle), checks mobile, desktop, and exact viewports, chats with the
agent, and clicks Save and Finish to export the edited markup and an edit log.
- skills/ui-canvas, commands/ui-canvas.md, bin ecc-ui-canvas
(scripts/ui-canvas.js), a profile over the Plan Canvas server via a
session mode of 'ui'.
- scripts/lib/ui-canvas/{editor,feedback,ui,fields}.js: in-page editor,
feedback normalization, browser shell, and inspector field helpers.
- Inspector: grouped slider rows (size, fill, text, spacing, border,
effects); double-click any value to type it, sanitized and clamped before
it reaches the mockup; HSL plus alpha color sliders; per-property clear.
- ECC green accent on near-black, no gradient branding; selection overlay
is green.
- Plan Canvas: agent identity in presence, mode-aware server and hooks.
Editing conventions credit VisBug and Onlook; the review loop credits
lavish-axi by @kunchenguid.
ecc-pi-core
A curated, Pi-native profile of ECC: 132 portable engineering skills and 24 pure prompt-workflow commands, with no extensions, no hooks, no runtime downloads, and no network or SaaS dependencies.
Contents
skills/- language, framework, testing/TDD, code review, security review, planning, refactoring, docs, and git/PR workflow skills.commands/- prompt commands that are pure prompt workflows.CURATION.md- every excluded skill and command with its reason.
Use
Copy this directory into your project (or pin a release tarball) and load it with the Pi coding agent:
pi --no-extensions --extension pi/core
Offline load test (as run in CI):
PI_OFFLINE=1 pi --offline --mode rpc --no-session --no-context-files --no-extensions \
--extension pi/core </dev/null >/dev/null
Regenerate
pi/core is generated from manifests/pi-core.json and committed so release
tarballs contain it verbatim. After changing the manifest or any included source
content, run:
node scripts/build-pi-core.js
and commit the result. CI verifies the committed profile is up to date.