eclipse-openvsx/openvsx/write-code
Claude Code and agent skill by eclipse-openvsx/openvsx
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
The workflow for changing webui source code — understand, implement, test, changelog, lint. Use whenever writing or modifying source (not for docs-only edits). Enforces that every behavioral change ships with tests and a changelog entry.
Install
npx vskill@latest install eclipse-openvsx/openvsx/write-codeSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as eclipse-openvsx/openvsx/write-code.
Changing webui code
1. Understand
- Read the files you're about to change in full before wide-ranging edits, and before editing a file you haven't inspected. Don't work from search snippets alone.
- Check
node_modulesfor external API types instead of guessing.
2. Implement
- Match the style of the surrounding code.
- Keep comments short (1–3 lines): state the non-obvious constraint or rationale, never narrate what the code does.
- Reach browser APIs (
IntersectionObserver,matchMedia,ResizeObserver, …) only through a custom hook, and have that hook talk to the API through a context whose default value is the real implementation — so the app mounts no provider and tests swap in a controllable one. Ship a controllable fake of that context value with it intest/unit/support/(thewrite-testsskill covers how specs use it). Model:useInViewoverViewportObserverContext(src/context/viewport-observer-context.ts). - Ask before removing functionality that looks intentional. Don't preserve backward compatibility unless asked.
3. Test — required, not optional
Every behavioral change ships with tests. This is a gate, not a nicety:
- New behavior → add a test for it. Changed behavior → update the affected tests.
- Bug fix → add a regression test and apply the fail-first check: confirm it goes red without the fix, then restore. A fix without a test that pins it is incomplete.
- Follow the `write-tests` skill for setup, layout, and harness patterns.
- Run the file you touched, then the suite (
yarn test); iterate until green.
If a change genuinely has no unit-testable surface (pure styling, config), say so explicitly rather than skipping silently.
Tests are how a change is verified — a passing, fail-first-checked test is the evidence the change works.
4. Changelog
Add an entry for the change under ## [next] in CHANGELOG.md, in the right subsection (### Added / ### Changed / ### Fixed / ### Removed / ### Dependencies) — see AGENTS.md for the format rules. This covers product code; test-only, docs, and tooling changes don't get an entry.
5. Lint
yarn lint (full output, no | tail). Fix every error, warning, and info before considering the change done. Never run yarn smoke-tests unless asked. Never commit unless asked.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwebui/.agents/skills/write-code/SKILL.md
Popularity
- Repository stars
- 2,071
- Repository forks
- 374
- 7-day trend score
- 38
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/eclipse-openvsx/openvsx/write-code)