بنقرة واحدة
todo
Create and manage todo list documents (TodoDoc). Use for task lists, checklists, and simple project tracking.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create and manage todo list documents (TodoDoc). Use for task lists, checklists, and simple project tracking.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Read and write a Datalog database document (DatalogDoc) by Automerge URL. Use when working with Datalog facts, rules, or constraints — asserting or retracting facts, reading the current database state, running queries, or checking for constraint violations.
Manage a Plan — a document referencing separate task documents, each with a goal, dependencies, artifacts, and a linked spec.
Manage a Spec Collection — a single document containing multiple specs, each with a goal, named document references, and JavaScript verification scripts.
Write a plain-JS canvas tool for an existing datatype and place it on a Paper canvas via toolUrl embed. Use when asked to create a custom view or UI for an existing document type.
Read and write a Datalog database document (DatalogDoc) by Automerge URL. Use when working with Datalog facts, rules, or constraints — asserting or retracting facts, reading the current database state, running queries, or checking for constraint violations/conflicts.
Domain-specific API for creating and configuring an llm-petrinet — set system prompts, add optimizers/evaluators/problems, and read back the current configuration.
| name | todo |
| description | Create and manage todo list documents (TodoDoc). Use for task lists, checklists, and simple project tracking. |
Create and manage todo list documents.
const todo = await workspace.loadSkill("todo");
// TodoDoc shape
{ title: string, todos: Todo[] }
// Todo item
{ id: string, description: string, done: boolean }
createTodo(title) (async)Creates a new todo list. Returns { handle, url }.
const { url } = await todo.createTodo("Shopping List");
getTodo(url) (async)Returns interface for the todo at url:
| Method | Description |
|---|---|
addItem(description) | Adds a new todo item |
toggleItem(id) | Toggles done state |
removeItem(id) | Removes item by id |
getItems() | Returns all items |
getTitle() | Returns list title |
setTitle(title) | Updates title |
const todo = await workspace.loadSkill("todo");
// Create a new list
const { url } = await todo.createTodo("Weekly Tasks");
// Work with existing list
const list = await todo.getTodo(url);
list.addItem("Review PRs");
list.addItem("Update docs");
list.addItem("Deploy to staging");
const items = list.getItems();
console.log(items);
// [{ id: "...", description: "Review PRs", done: false }, ...]
// Mark first item as done
list.toggleItem(items[0].id);
// Remove an item
list.removeItem(items[2].id);
// Update title
list.setTitle("Sprint Tasks");