Adonis0123/adonis-skills / skills/prompt-studio
prompt-studio
FlaggedTurn a one-line image or video request into a finished asset: route it to an image, a code-rendered Code Video or a Model Video, search many GitHub prompt libraries for proven image prompts, video-model prompts (Seedance, Kling, Veo, Hailuo/MiniMax, Wan, Grok Imagine) and code-video templates, show the best 5 with their samples, model, author and license, write a generation brief, hand it to an available channel (host tool, Codex/Grok CLI, API, Hyperframes), then check and log the result. Use whenever the user wants a cover, illustration, poster, thumbnail, infographic, animation, motion clip, AI video, or a better prompt for one, even if they only say 'make me an image'. Also for Chinese-language requests for WeChat covers, illustrations, still-to-motion clips, and image/video prompt optimization. Not for general chatbot or coding prompts, photo editing without generation, UI implementation, or slide decks.
scripts/adapters/youmind-manifest.mjs
View on GitHubimport fs from "node:fs";
import path from "node:path";
export const USE_MAP = {
cover: ["youtube-thumbnail", "poster-flyer"],
illustration: ["poster-flyer", "others", "social-media-post"],
infographic: ["infographic-edu-visual"],
avatar: ["profile-avatar"],
thumbnail: ["youtube-thumbnail"],
poster: ["poster-flyer"],
comic: ["comic-storyboard"],
product: ["product-marketing", "ecommerce-main-image"],
game: ["game-asset"],
app: ["app-web-design"],
};
export const LARGE_SLUGS = ["social-media-post", "product-marketing"];
function read(file) {
try {
return JSON.parse(fs.readFileSync(file, "utf8"));
} catch {
return null;
}
}
function local(dir, file) {
if (
typeof file !== "string" ||
path.isAbsolute(file) ||
file.split(/[\\/]/).includes("..")
)
return null;
return path.join(dir, file);
}
export async function sync(src, ctx) {
const base =
src.rawBase ||
`https://raw.githubusercontent.com/${src.repo}/${src.branch || "main"}/references`;
const file = path.join(ctx.dir, "manifest.json");
const results = [await ctx.fetchCached(`${base}/manifest.json`, file)];
const manifest = read(file);
const known = Array.isArray(manifest?.categories)
? manifest.categories.filter(
(c) => c && typeof c.slug === "string" && typeof c.file === "string",
)
: [];
const wanted = ctx.all
? known.map((c) => c.slug)
: ctx.categories?.length
? ctx.categories
: known
.filter((c) => {
const file = local(ctx.dir, c.file);
return file && fs.existsSync(file);
})
.map((c) => c.slug);
const notes =
!ctx.all && !ctx.categories?.length
? [`${src.id}: pass --use to search its categories`]
: [];
for (const slug of wanted) {
const cat = known.find((c) => c.slug === slug);
if (!cat) {
results.push({ status: "unknown-category", slug });
continue;
}
if (LARGE_SLUGS.includes(slug) && !ctx.allowLarge) {
results.push({
status: "skipped-large",
slug,
hint: "Pass --allow-large to download this category",
});
continue;
}
const target = local(ctx.dir, cat.file);
if (target)
results.push(await ctx.fetchCached(`${base}/${cat.file}`, target));
}
return {
results,
notes,
updatedAt: manifest?.updatedAt || null,
categories: known.map((c) => ({
...c,
cached: Boolean(
local(ctx.dir, c.file) && fs.existsSync(local(ctx.dir, c.file)),
),
})),
};
}
export function load(src, ctx) {
const manifest = read(path.join(ctx.dir, "manifest.json"));
const categories = Array.isArray(manifest?.categories)
? manifest.categories.filter(
(c) => c && typeof c.slug === "string" && typeof c.file === "string",
)
: [];
return categories.flatMap((cat) => {
const file = local(ctx.dir, cat.file);
const items = file && read(file);
if (!Array.isArray(items)) return [];
return items
.filter((item) => item && typeof item === "object")
.map((item) => ({
...item,
nativeId: item.id,
category: cat.slug,
model: item.model || src.modelDefault || null,
}));
});
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |