Install
$ agentstack add skill-edloidas-skills-editor-config ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Editor Config
Purpose
Drop a small, opinionated set of editor configuration files into a project. The skill is the source of truth — its bundled configs in assets/ are what every target repo gets. To update the canonical configs, edit the files in this skill and commit; the next run propagates the change everywhere else.
When to Use This Skill
Trigger phrases: "editor config", "editor-config", "init editor", "setup editor", "apply editor config", "sync editor config", "init zed", "init vscode", "set up .zed", "set up .vscode", "configure editor".
Canonical Set
Two editors, each with one or more target files:
| Editor | Target | Source | |--------|--------|--------| | Zed | .zed/settings.json | assets/zed/settings.json | | VSCode | .vscode/settings.json | assets/vscode/settings.json | | VSCode | .vscode/extensions.json | assets/vscode/extensions.json |
Sync Algorithm
For each target file:
- Missing in target → write our copy verbatim.
- Already exists in target →
settings.jsonfiles: deep-merge with our values winning every conflict.
Keys the user has that we do not define are preserved.
extensions.json: union therecommendationsand
unwantedRecommendations arrays. No duplicates, order preserved with our entries appended first.
Existing files are read tolerantly — // line comments and /* … */ block comments (valid in JSONC) are stripped before parsing. The output is always plain JSON.
The skill prints a per-file plan (Write, Merge, Identical) and asks for confirmation before writing.
Workflow
- Determine editor selection.
- If arguments include
zedand/orvscode, use those. - Otherwise ask via
AskUserQuestionwithmultiSelect: true:
``` Question: Which editor configs should I set up? Header: Editors Options:
- Zed (Recommended) — Apply .zed/settings.json
- VSCode — Apply .vscode/settings.json and .vscode/extensions.json
```
If AskUserQuestion is unavailable (Codex / plain chat), ask in normal chat with this short numbered list and wait for the user's reply. Accept one or more numbers comma-separated (e.g. 1,2).
``` Which editor configs should I set up? (pick one or more)
- Zed — apply .zed/settings.json
- VSCode — apply .vscode/settings.json and .vscode/extensions.json
```
- Run the apply script for each selection.
``bash bash /scripts/editor-config.sh [--dry-run] [--yes] [ ...] ``
` is one of zed, vscode`. Flags:
--dry-run— print the plan and exit--yes/-y— skip the per-run confirmation-h,--help— usage
- Review the plan. The script prints
Target, then a per-file action
(Write, Merge, Identical).
- Confirm. Type
yto apply. Anything else aborts.
- Verify. After apply, the changed files are listed. Run
git status/
git diff in the target repo to inspect.
Edge Cases
jqmissing. The script requiresjqfor parsing and merging. Install
with brew install jq (or your package manager).
- JSONC with non-standard syntax. The comment stripper handles
//and
/* … */. Trailing commas are not handled — if the existing file has them, the script reports a parse error and exits without writing. Remove trailing commas and re-run.
- Existing
recommendationsarray contains a string we also define. The
union de-duplicates by exact string match, so no double entries appear.
- The user has set a key we also define to a different value. Ours wins —
this is the explicit design. If a user customization needs to survive, remove that key from assets//settings.json in this skill (the canonical set).
Updating the Canonical Configs
The bundled files in assets/ are the source of truth. Edit them in place and commit; the next run in any other repo picks up the new content.
When adding a brand-new target file:
- Drop the file into
assets//. - Add a row to the Canonical Set table above.
- Extend the editor block in
scripts/editor-config.sh(theapply_
function and the TARGETS_ array).
When adding a brand-new editor:
- Create
assets//with the relevant files. - Add the editor to the script's
KNOWN_EDITORSlist and add an
apply_ function.
- Add it to the Canonical Set table and the
AskUserQuestionoptions.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: edloidas
- Source: edloidas/skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.