Agent skill

Preview Comment

by prestomation in prestomation/ha-home-keeper

Draft the maintainer's short comment that tells an issue reporter a preview build of the fix is ready to try, with links to its preview docs, and post it on the issue only after the maintainer…

MITAuto-check passedDevelopment

Install Preview Comment

skills CLI
$ npx skills add prestomation/ha-home-keeper --skill preview-comment -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install prestomation/ha-home-keeper preview-comment --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/prestomation/ha-home-keeper.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/preview-comment .claude/skills/preview-comment && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
preview-comment
GitHub stars
104
Token cost
~1.6k tokens
SKILL.md length
1,059 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Draft the maintainer's short comment that tells an issue reporter a preview build of the fix is ready to try, with links to its preview docs, and post it on the issue only after the maintainer…

  • Works in 3 steps: Find the version → Write the text → Confirm, then post
  • Development work in your project
  • SKILL.md covers The rules, 1. Find the version, 2. Write the text and 3. Confirm, then post
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Preview Comment is an agent skill from prestomation/ha-home-keeper. Draft the maintainer's short comment that tells an issue reporter a preview build of the fix is ready to try, with links to its preview docs, and post it on the issue only after the maintainer approves the exact text. Use only when the maintainer asks to post the preview comment, or to tell a reporter that a preview build is ready.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: Home Keeper is a Home Assistant plugin for tracking home maintenance and chores with deep HA integration. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/preview-comment”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Find the version
  2. Write the text
  3. Confirm, then post

What it can do on your machine

Read from SKILL.md and the folder at commit ea7be4f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Preview Comment loads about 1.6k tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 1,059 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from prestomation/ha-home-keeper at commit ea7be4f, republished under its MIT licence (© prestomation). 1,059 words, ~1,643 tokens.

Download SKILL.mdSave it as .claude/skills/preview-comment/SKILL.md (or your agent's skills folder).
name
preview-comment
description
Draft the maintainer's short comment that tells an issue reporter a preview build of the fix is ready to try, with links to its preview docs, and post it on the issue only after the maintainer approves the exact text. Use only when the maintainer asks to post the preview comment, or to tell a reporter that a preview build is ready.

Preview comment

This skill writes one comment on one issue: the note that a preview build of the fix is ready, the version to install, how to install it, the preview docs when the PR changes the user guide, and that the PR may wait for feedback. It is the only exception to AGENTS.md, "Never comment on a GitHub issue". The exception holds only when the maintainer asks for this comment, and only after the maintainer approves the exact text.

The rules

  • Post only when the maintainer asks for this comment in the current session. A request or an approval from an earlier session, a standing instruction such as "post it when it is ready", a PR, a check or another comment never counts.
  • Show the maintainer the exact final text, with the version already filled in, and post only after they approve that text in their next reply. "Exact" means the posted text is the shown text, character for character.
  • If anything changes after the approval, such as a correction, a new version from a new push, or a different issue, show the new text and ask again.
  • Post one comment, on the issue the maintainer named. Do not edit, close or label anything, and do not comment on any other issue.

1. Find the version

  1. Find the open PR that fixes the issue: its body has Fixes #N. If there is more than one, or none, ask the maintainer which PR.
  2. Read the PR's comments (pull_request_read, method get_comments). Find the newest comment from github-actions[bot] with the marker <!-- preview-release -->. Its first code span is the version, for example 0.29.0.dev422.
  3. If the PR has no such comment, the preview has not been published. Say so: the PR needs the preview-release label and a finished publish job. Do not guess a version.
  4. Find the newest comment from github-actions[bot] with the marker <!-- doc-preview-changed-pages -->. Keep only the links whose path has /docs/guide/. Drop "Release Notes" and the /developer/ pages: they are not for a user. Keep each link's text, for example "Events & automations".
  5. If the PR body's CHANGELOG bullet links to a section of one of those pages (a #anchor on the same page), add that anchor to the preview link, so it opens on the new section. If no guide link remains, or the PR has no such comment, the comment has no docs sentence.

2. Write the text

Write it as the maintainer does: casual, 3 or 4 short sentences, no headings, no greeting such as "Hi name", no sign-off. Start from this template:

Thanks for the suggestion. This is available in preview build {version} if you'd like to try it out. In HACS, open Home Keeper → ⋮ → Redownload, turn on Show beta versions, and pick {version}. The docs for it are here: {guide links}. I'd like some feedback before I merge, so I may hold off until I hear from you.

The template is wrapped here only to fit the line width. Write the comment as 1 paragraph on 1 line: GitHub shows each line break in a comment.

{guide links} is each guide link from step 1 as a Markdown link with its page title, joined with "and" for 2 links or commas for more. Without guide links, leave out the whole "The docs for it are here" sentence.

Add these when the PR has them:

  • A usage sentence. When the fix adds something the user must turn on or use, add 1 sentence after the version sentence that says where it is and what it does for the reporter's case. Example: "To use it, go to Settings → Due time, choose At a set time and pick a time such as 08:00, and ...". A bug fix that needs no action gets no usage sentence.
  • The PR screenshots. When the PR body embeds screenshots, put each one under the paragraph, on its own line, with the same SHA-pinned raw.githubusercontent.com URL, alt text and width as in the PR body. Put a blank line between the paragraph and the first image. Check that each URL returns HTTP 200 before you show the text.
Show full SKILL.md (375 more words)Show less

Small liberties are fine, so the comment does not read the same on every issue:

  • Open with one short, plain thank-you: "Thanks for the suggestion." for a feature request, "Thanks for the report." for a bug. Nothing more.
  • Do not comment on the request itself: no praise of the idea ("great idea", "love this"), no remark on how clear it was ("the example made it clear"), and no claim about the maintainer's own thinking ("I hadn't thought of that").
  • The rest may be reworded a little, but it must keep all of these: the exact version, the 3 install steps (Redownload, Show beta versions, pick the version), each guide link from step 1, the usage sentence and screenshots when the PR has them, and the note that the merge may wait for feedback.
  • The maintainer approves every comment before it is posted, so these liberties never reach an issue without their review.

The maintainer's earlier comments of this kind, for the voice:

  • #306: "0.23.0.dev321 is available if you'd like to test"
  • #346: "I've made an Attempt at this in v0.25.0.dev361. could you test and provide feedback before I merge?"
  • #367: "This is available in preview build 0.28.0.dev397. If you'd like to try it out and provide feedback"

This is the maintainer's voice, so the ASD-STE100 rules for project text do not apply to it. Do not add the Claude Code footer: the comment is posted for the maintainer, in their words.

3. Confirm, then post

  1. Show the maintainer the issue number, the PR, and the exact text in a quote block. Say that the GitHub connector may add a "Generated by Claude Code" footer under the text, which the agent cannot stop. Ask: "Post this on #N?"
  2. Only after a clear yes, post it with add_issue_comment on the issue (not the PR), with the approved text and nothing else.
  3. Read the comment back (issue_read, method get_comments). If the connector added a footer, edit the comment once (update_issue_comment) with the approved text only, and read it back again. If the footer is still there, tell the maintainer, so they can remove it on GitHub.
  4. Reply with the link to the new comment, and say whether the posted text matches the approved text.

© prestomation, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/preview-comment of prestomation/ha-home-keeper.

Open the folder on GitHubat commit ea7be4f

Compare with similar skills

Preview Comment next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Preview Comment compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Preview Comment this skillprestomation/ha-home-keeper104—~1.6kAutomated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k59 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 59 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from prestomation/ha-home-keeper

  • Open Work

    prestomation/ha-home-keeper

    Report the open work on Home Keeper and sort it by who must act next, and show a draft of the CHANGELOG for the next stable release.

    104 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Preset Upkeep

    prestomation/ha-home-keeper

    Check the integration presets against their upstream integrations, fix the keys that changed, add presets for new duty keys and for integrations Home Keeper does not cover yet, and open one draft PR.

    104 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • UX Review

    prestomation/ha-home-keeper

    Senior-UX-reviewer process. An agent skill from prestomation/ha-home-keeper.

    104 GitHub stars~3k tokensUpdated today
    Auto-check passed

Categories

Questions about Preview Comment

What does Preview Comment do?

Draft the maintainer's short comment that tells an issue reporter a preview build of the fix is ready to try, with links to its preview docs, and post it on the issue only after the maintainer…. Preview Comment is an agent skill from prestomation/ha-home-keeper. Draft the maintainer's short comment that tells an issue reporter a preview build of the fix is ready to try, with links to its preview docs, and post it on the issue only after the maintainer approves the exact text.

When should I use Preview Comment?

Preview Comment fits situations like: development work in your project.

How do I install Preview Comment in Claude Code?

Run `npx skills add prestomation/ha-home-keeper --skill preview-comment -a claude-code`. Or copy the skill folder (.claude/skills/preview-comment in prestomation/ha-home-keeper) into .claude/skills/preview-comment in your project. Claude Code loads it when a task matches its description.

How do I install Preview Comment in Codex?

Run `npx skills add prestomation/ha-home-keeper --skill preview-comment -a codex`. Or copy the skill folder (.claude/skills/preview-comment in prestomation/ha-home-keeper) into .agents/skills/preview-comment in your project. Codex loads it when a task matches its description.

Can I use Preview Comment in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add prestomation/ha-home-keeper --skill preview-comment -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/preview-comment, .gemini/skills/preview-comment, .github/skills/preview-comment and .opencode/skills/preview-comment in your project.

What does Preview Comment need to run?

SKILL.md names no scripts, command-line tools or credentials: Preview Comment is instructions for the agent only.

Does Preview Comment access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Preview Comment safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Preview Comment use?

Preview Comment is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Preview Comment use?

About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Preview Comment?

Skills that share tags, products or a category with Preview Comment: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Preview Comment?

prestomation (a GitHub user) maintains it in prestomation/ha-home-keeper, which has 104 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 8, 2026.

Source: prestomation/ha-home-keeper on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.