Initialize or export a microfeed theme
SkillAI & modelsInitialize or export a microfeed theme from a saved instance into an independent local repository, then install, validate, test, and preview it safely. Use when a coding agent is asked to initialize, export, copy, fork, inspect, or begin developing the active or a specific installed theme from a microfeed instance.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Initialize or export a microfeed theme skill
What this skill tells your AI
The instructions your AI receives, as published by microfeed/microfeed in .agents/skills/export-microfeed-theme/SKILL.md and read by ahel’s review.
Prefer the clone-free npx @microfeed/cli manage launcher from any working
directory. A user who is already working inside a trusted microfeed clone may
use the project-owned yarn manage command instead. Use one prefix consistently
for the whole task. Read the theme section of
docs/manage-cli.md before using an unfamiliar
option.
Choose the repository identity
-
Run
npx @microfeed/cli manage instances --jsonand select the exact saved instance the user named. If several instances remain plausible, report their names and ask the user to choose. -
Use
theme initwhen the user wants a new independently versioned theme based on the site's effective appearance:npx @microfeed/cli manage theme init <output-directory> --instance <instance-name> --jsonLet the CLI choose the initial
local.<directory-name>package ID unless the user supplied a package ID, name, version, or author. The command initializes Git by default; pass--no-gitonly when the user wants another tool to initialize the repository. -
Use
theme exportwhen the user wants to preserve one exact installed package identity. Export the active installed version by default:npx @microfeed/cli manage theme export --active --instance <instance-name> --git --jsonWhen the user names an immutable theme ID, replace
--activewith that ID. Let the CLI choose.microfeed/themes/<package-id>-<version>/unless the user supplied another empty output directory. -
Read the JSON result and report the source selection, package ID, version, output directory, and Git-initialization state. For export, also report the exact immutable theme ID.
Initialization and export are read-only for the instance. Never install, activate, deactivate, delete, or otherwise change a live theme as part of this workflow. Git initialization does not stage, commit, create a remote, or push.
Verify the standalone repository
- Change into the returned output directory and read
README.md,THEME.md,microfeed-theme.json, and both generated schemas completely. - Run
yarn install, thenyarn validateandyarn test. Do not use dependencies from the parent microfeed workspace. - Start
yarn previewwith the bundled fixtures. Use--feed-urlonly when a public feed is needed. Confirm the printed local URL responds, then stop the preview process and confirm it exited. - Show
git statusand propose an initial commit message after every check passes. Stop before staging, committing, creating a remote, pushing, or opening a pull request unless the user explicitly requests those actions.
Handle failures safely
- Never delete, empty, or overwrite a non-empty destination. Use another collision-resistant directory only with the user's approval.
- If Git initialization fails, keep and inspect the completed scaffold. Do not rerun export into that now-non-empty directory.
- If no installed version is active during export, explain that
theme initcan derive a new identity from the effective fallback; do not silently substitute it for an immutable export. - If dependency installation is blocked, inspect the generated compatibility
range and local Yarn configuration. Do not disable package gates globally or
preapprove packages other than
@microfeed/theme-kit. - Keep exports under
.microfeed/themes/when they should share the coding workspace. Do not use disposabledist/output. Warn that ignored-file cleanup can remove the local repository until it is committed and pushed elsewhere.
At handoff, list the exact commands run and all remaining local-only state.
Signals
- GitHub stars
- 4k
- Forks
- 1k
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
export-microfeed-theme- Source
- github.com/microfeed/microfeed