Skip to content
Skills Library
Programming · Building & coding

feature

/feature

Add or change a feature of a script, test-first against fixtures. Use for any change to what a script does on its website.

Licence
MIT
Last repository change
13.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Add or change a feature of a script, test-first against fixtures. Use for any change to what a script does on its website.

Original author description

Add or change a feature of a script, test-first against fixtures. Use for any change to what a script does on its website.

How it works

  1. Scope
  2. Loop
  3. Fake site
  4. Dev loop and hand-off
Original SKILL.md headings · 34 lines, 394 words
SKILL.md preview
---
name: feature
description: Add or change a feature of a script, test-first against fixtures. Use for any change to what a script does on its website.
---

# Feature

Read `mode` in `<script>/script.json` first. A sealed script needs fixtures before any feature work; without them, switch to `sealed-capture`.

## Scope

Change only the parts the owner names. When a word could mean two parts of the page, such as "header", ask which one before changing anything.

## Loop

1. **Red**: write a failing test.
   - Unit tests sit next to the code as `*.test.ts`, with small invented inputs in the test.
   - Tests that read `<script>/fixtures/` are named `*.fixtures.test.ts`. They skip when fixtures are missing; `npm run test:fixtures <script>` runs them for real.
2. **Green**: the smallest change that passes. `npm test <script>`.
3. Repeat until the feature is complete, then `npm run precommit` and commit.

Code that only this script needs stays in `<script>/src/`. A file moves to `shared/` only when a second script needs it, never as a copy.

## Fake site

Build `<script>/fake-site/` only for a sealed script, or for a feature that reacts to change over time (polling, reloads). It runs on `http://localhost:8787` on the shared base in `shared/dev/fake-site`, with routes, state, named actions under `/__dev`, and stand-in labels for masked names. Check every feature there in the `fake-site` browser. Details: `docs/spec/sealed-workflow.md`, section "Fake site".

- The `fake-site` tools load when a session starts. Run `npm run dev <script>` before opening a page.
- A feature that polls waits for its own interval. Change a value the script polls soon, or wait the interval out, before calling a check failed.

## Dev loop and hand-off

- `npm run dev <script>` rebuilds `dist/dev/<script>.user.js`, serves it on `:8786` and starts the fake site.
- Claude starts `npm run dev <script>` itself, in the background, before the hand-off or a fake-site check. It stops the server once the owner has reported back or it is no longer needed. When a port is taken, Claude finds the process and asks before stopping one it did not start.
- Every hand-off that needs the dev script, captures included, gives its link: `http://localhost:8786/<script>.user.js`.
- Hand-off: tell the owner what changed and the exact list to check on the real site. The owner disables the release script while the dev script runs. Their report in chat ends the feature.
- When the owner reports a problem on a sealed site, ask for a new capture of that page. Its script log helps reproduce it.

Versions

RepositoryScoreLicence
This page · pietdevries94/my-vibed-userscripts90MIT
A7-studio/jobmigo100MIT
crbnos/carbon100AGPL-3.0
arxdsilva/ai-loops100MIT
jisuzzzz/haechi100MIT
pawangai/pawang-agents100MIT
andrewBezerra/concordia100MIT
cryndoc/polisade-orchestrator100Apache-2.0
ChandraChaan/flutter-agent-skills100MIT

Database snapshot: 13.11.2026 · package version 73091933ceeb (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90dev-feature
    Use when adding or changing behavior: a new feature, a behavior change, or a user-visible improvement.
  • 96ditz-tdd
    Use when adding tests or fixing bugs test-first.
  • 100feature-review
    Reviews a PR, commit, range, or branch as a feature first and code second, in a local HTML page whose comments post back to the PR as one GitHub review. Use when the user asks to review a PR or commit, review the feature or shape of a change, or re-review a PR after new pushes:…
  • 90script-designer
    Use when reading or modifying the script content of the exact SmartCMP script definition selected by an embedded script-editor page Context.
  • 100implement
    Add or change a feature by following the project's documented structure first, then the code graph, then existing code patterns. Stops and asks when docs and code disagree, warns before large changes, follows the repo's testing habits, and updates affected docs afterwards. Use…
  • 100feature-workflow
    Use when building any user-facing feature, from the request to the last commit - spec, plan, tests first, browser check, end-to-end tests and improving the harness.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.