agentleFS
fpindejfpindej/netrock/.claude/skills/init-verify/SKILL.md

init-verify

Skill234 starsChanged 3 months agoMITView on GitHub

TEMPLATE-ONLY - verify changes against a fully running stack by instantiating the template, checking in the browser, then reverting every init artifact. Use whenever a change needs visual or runtime verification in the real app. Removed by init.sh, do not reference from skills that survive init.

  • Deletes or force-pushes

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Verify template changes in a real running app.

    line 5
  2. Very specific:

    When polishing UI in the template, run /polish-ui step 5 (browser verification) inside this loop.

    line 7
  3. Very specific:

    Delete untracked init artifacts: verify git ls-files --others --exclude-standard lists ONLY instantiation files, then remove them (the …

    line 20
  4. Very specific:

    Delete gitignored leftovers too: the instantiation's bin/obj output is invisible to the untracked listing.

    line 21
  5. Very specific:

    Remove the Docker containers/volumes created since the snapshot (Aspire volumes are named <name>-db-data, <name>-storage-data).

    line 22
  6. Very specific:

    Commit the meaningful screenshots under docs/sessions/assets/<date>-<topic>/ and embed them in the PR description with SHA-pinned raw URLs …

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Verify template changes in a real running app. The template's placeholder form (MyProject) cannot run the full stack; a throwaway instantiation can. Nothing from the instantiation may leak into commits.

When polishing UI in the template, run /polish-ui step 5 (browser verification) inside this loop.

The loop

  1. Commit first: the real (pre-init, template-form) changes must be committed before anything else - the revert below destroys uncommitted work. Capture the SHA: PRE_INIT_SHA=$(git rev-parse HEAD).
  2. Snapshot Docker: note existing containers/volumes (docker ps -aq, docker volume ls -q) so cleanup removes only what this run creates.
  3. Instantiate: ./init.sh --name VerifyApp --yes --no-commit --no-build --no-aspire. Do NOT add --no-migration - the initial migration is what makes the stack actually run (it builds WebApi even with --no-build).
  4. Run: dotnet run --project src/backend/VerifyApp.AppHost in the background. The frontend serves at the base port (default http://localhost:13000); confirm with a probe, do not assume.
  5. Verify: drive the browser (Playwright), capture screenshots at all required breakpoints and both themes. Save screenshots OUTSIDE the repo (scratchpad) - the revert deletes untracked repo files.
  6. Preview fixes cheaply: small copy/style fixes can be edited directly in the instantiated tree to preview live before teardown - these edits are throwaway, the real fix is applied pre-init afterwards.
  7. Teardown:
    • Stop Aspire.
    • git reset --hard "$PRE_INIT_SHA" (the project hook blocks a bare git reset --hard - always pass the explicit target).
    • Delete untracked init artifacts: verify git ls-files --others --exclude-standard lists ONLY instantiation files, then remove them (the project hook blocks git clean - use the list + rm).
    • Delete gitignored leftovers too: the instantiation's bin/obj output is invisible to the untracked listing. Remove the renamed project trees wholesale (rm -rf src/backend/<Name>.* src/backend/tests/<Name>.*), then find src/backend -type d -empty -delete.
    • Remove the Docker containers/volumes created since the snapshot (Aspire volumes are named <name>-db-data, <name>-storage-data).
  8. Apply findings pre-init: fixes discovered during verification go into the template files (normal delegation rules), then commit. Repeat the loop if the fix needs visual confirmation.

Evidence

Commit the meaningful screenshots under docs/sessions/assets/<date>-<topic>/ and embed them in the PR description with SHA-pinned raw URLs (https://raw.githubusercontent.com/<owner>/<repo>/<full-sha>/docs/sessions/assets/...) so they survive branch deletion after squash-merge.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.