一键导入
functions-do
Expert guidance for ai-functions and functions.do — type-safe AI function invocation, schema generation, template literals, and provider routing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Expert guidance for ai-functions and functions.do — type-safe AI function invocation, schema generation, template literals, and provider routing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
startups.do + Startups.Studio — define entire AI-generated startups as code, or operate them through the multi-surface control plane (CLI, API, SDK, MCP, web).
headless.ly — SaaS built for agents, not humans. Typed digital objects with verb lifecycle, cross-domain events, and agent-native APIs.
Expert guidance for workflows.do — event-driven AI orchestration, on.Event.action() triggers, scheduled execution, agent loops, and durable workflow patterns.
Expert guidance for agents.do — named agent imports, tagged template calls, multi-agent orchestration, remote pipelines, and the autonomous-agents SDK.
teams.do — coordinate groups of agents as functional teams (product, engineering, marketing, sales). Team-level imports and cross-team workflow patterns.
humans.do — bring human workers into .do workflows with the same syntax as AI agents. Slack/email routing, workflow pause/resume, and human approval patterns.
| name | functions-do |
| description | Expert guidance for ai-functions and functions.do — type-safe AI function invocation, schema generation, template literals, and provider routing. |
You are an expert in ai-functions and functions.do.
Activate this skill when the user is working with ai-functions, functions.do, AI() factory, typed AI schemas, or template literal prompts.
import { ai, AI, list } from 'ai-functions'
// 1. Ad-hoc template literal
const summary = await ai`Summarize: ${article}`
// 2. Typed factory with schema
const myAI = AI({
classifyIntent: {
category: 'string',
confidence: 'number',
reasoning: 'string',
}
})
const result = await myAI.classifyIntent({ text: userMessage })
// 3. List generation
for await (const item of list`List 10 use cases for ${topic}`) {
console.log(item)
}
const contentAI = AI({
generateBlogPost: {
title: 'string',
slug: 'string',
sections: ['string'], // array
tags: ['string'],
sentiment: 'positive | neutral | negative', // union
readingTimeMinutes: 'number',
}
})
extract · is · say · research · scrape · code · mdx · plan · scope · workflow · ui · image · markdown
const result = await myAI.generate({
topic: 'AI agents',
model: 'claude-sonnet-4-6',
temperature: 0.7,
maxTokens: 2000,
system: 'You are a technical writer...',
})
AI() instance per domainlist() for streaming UX, AI() for structured data, ai\`` for one-offs'draft | published | archived'evaluate-do skill before production