Skip to content

skill: build one feature at a time while a person watches the editor - #109

Open
lizaixi01 wants to merge 1 commit into
PhySpace:devfrom
lizaixi01:feat/skill-build-step-by-step
Open

lizaixi01 wants to merge 1 commit into
PhySpace:devfrom
lizaixi01:feat/skill-build-step-by-step

Conversation

@lizaixi01

Copy link
Copy Markdown
Contributor

Build one feature at a time while a person watches

The editor-collaboration reference (docs/skill/references/domains/editor-collaboration.md) gets a short section for an agent whose editor is open beside it (a person following along, or a web page that shows it next to the agent's messages):

  • make the notebook first (sca new), then write one feature at a time and let it run (sca cell insert / put without --no-run), reading the state each command prints before the next;
  • do not write every cell with --no-run and run them all at the end: until then the person sees no model (a model that was there disappears while its cells are stale), then all of it at once;
  • head each feature cell with # ---- feature: <slug> (<role>) ----, # name: and # note:, so the feature tree shows the step the agent talks about.

Why: on the aiad test site the agent wrote all five cells of a part with --no-run and ran them at the end; the editor beside the chat showed no model for minutes and then the whole part at once, while the chat described the steps one by one. Beginners took the empty editor for a bug.

Independent of the editor PRs (#102–#107 and the two that follow): it touches only the skill source and can be merged on its own. The built copies under skills/ are not tracked.

Checked: tools/skillbuild.py --check (OK, 502 files) and a build of all targets.

🤖 Generated with Claude Code

DECISION: the editor-collaboration reference tells an agent that the editor is often open beside it: make the notebook
first, then write one feature at a time and let it run (no `--no-run`), reading each state before the next; not every
cell with `--no-run` and one run at the end; and head each feature cell with `# ---- feature: ... ----`, `# name:` and
`# note:` so the tree shows the step the agent talks about.

WHY: on the aiad site the agent wrote all five cells with `--no-run` and ran them at the end: the page showed no model
for minutes, then all of it at once, while the agent's messages described the steps one by one (the user, 2026-12-01:
左边对话和右边编辑窗口内容不一致; playground/learn/aiad-sync-report.md, problem 3).

WHAT CHANGES: docs/skill/references/domains/editor-collaboration.md (the built copies under skills/ are not tracked).

Checked: tools/skillbuild.py --check (OK, 502 files) and a build of all targets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@NiJingzhe NiJingzhe 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.

LGTM! 说明清晰准确,直接解决 agent 批量 --no-run 导致旁观用户长时间看到空白画布的问题,且独立于 editor PR 栈,可以直接合并。

This branch has not been deployed

No deployments
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