Aligns local custom agents, skills, and modified shared agents with upstream's
flat ce-<name>.agent.md + ce-<skill>/ convention introduced in upstream v3.x.
Changes:
- Delete 9 upstream-renamed agents for locally-dropped agents (design/*, rails
reviewers, ankane-readme-writer, data-migration-expert, performance-oracle,
security-sentinel)
- Delete ce-dhh-rails-style skill (local dropped dhh-rails-style entirely)
- Move 5 custom agents to flat ce-<name>.agent.md paths:
* python-package-readme-writer, design-conformance-reviewer,
tiangolo-fastapi-reviewer, zip-agent-validator, lint
- Rename 12 custom skill directories with ce- prefix:
* john-voice, jira-ticket-writer, hugo-blog-publisher, weekly-shipped,
proof-push, ship-it, story-lens, sync-confluence, excalidraw-png-export,
python-package-writer, fastapi-style, upstream-merge
- Port local Python/FastAPI edits into upstream's flat ce-best-practices-
researcher.agent.md and ce-kieran-python-reviewer.agent.md
- Update frontmatter name: fields in all 17 renamed files to match new paths
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
62 lines
1.8 KiB
HTML
62 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
body { margin: 0; background: white; }
|
|
#root { width: 900px; height: 400px; }
|
|
</style>
|
|
<script>
|
|
window.EXCALIDRAW_ASSET_PATH = "https://esm.sh/@excalidraw/excalidraw/dist/prod/";
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"react": "https://esm.sh/react@18",
|
|
"react-dom": "https://esm.sh/react-dom@18",
|
|
"react-dom/client": "https://esm.sh/react-dom@18/client",
|
|
"react/jsx-runtime": "https://esm.sh/react@18/jsx-runtime",
|
|
"@excalidraw/excalidraw": "https://esm.sh/@excalidraw/excalidraw@0.18.0?external=react,react-dom"
|
|
}
|
|
}
|
|
</script>
|
|
<script type="module">
|
|
import { exportToBlob } from "@excalidraw/excalidraw";
|
|
|
|
async function run() {
|
|
const resp = await fetch("./diagram.excalidraw");
|
|
const data = await resp.json();
|
|
|
|
const validTypes = ["rectangle","ellipse","diamond","text","arrow","line","freedraw","image","frame"];
|
|
const elements = data.elements.filter(el => validTypes.includes(el.type));
|
|
|
|
const blob = await exportToBlob({
|
|
elements,
|
|
appState: {
|
|
exportBackground: true,
|
|
viewBackgroundColor: data.appState?.viewBackgroundColor || "#ffffff",
|
|
exportWithDarkMode: data.appState?.exportWithDarkMode || false,
|
|
},
|
|
files: data.files || {},
|
|
getDimensions: (w, h) => ({ width: w * 2, height: h * 2, scale: 2 }),
|
|
});
|
|
|
|
const reader = new FileReader();
|
|
reader.onload = () => {
|
|
window.__PNG_DATA__ = reader.result;
|
|
document.title = "READY";
|
|
};
|
|
reader.readAsDataURL(blob);
|
|
}
|
|
|
|
run().catch(e => {
|
|
console.error("EXPORT ERROR:", e);
|
|
document.title = "ERROR:" + e.message;
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|