T-002
A visual editor for any site in development: change its type, then hand an agent the patch.
The sample page has the toolkit running on it. Open it from the button on the page, change some type, and the patch shows up below.
Nothing yet. Change something on the page.
It isn't on npm yet, and the name website-toolkit there is another package. Build it from its repo and add it from there.
# in the toolkit's repo
npm install
npm run build# in your app
npm install -D path/to/claude-website-toolkit/packages/website-toolkitimport { WebsiteToolkit } from "website-toolkit/react";
export default function App() {
return (
<>
<YourApp />
{process.env.NODE_ENV === "development" && <WebsiteToolkit />}
</>
);
}import { initToolkit } from "website-toolkit";
if (import.meta.env.DEV) {
initToolkit();
}const toolkit = initToolkit({
fonts: ["Inter", "Poppins"], // only these in the picker
onChange: (changes) => {}, // on every edit
onExport: (markdown) => {}, // when it's copied
});
toolkit.toMarkdown(); // the patch, for an agent
toolkit.clear();
toolkit.destroy();Want one of these, or something wilder? Let's make it.