feat: rationalize todo skill names and optimize skills (#368)

This commit is contained in:
Trevin Chow
2026-03-24 18:35:09 -07:00
committed by GitHub
parent 54bea268f2
commit 2612ed6b3d
20 changed files with 357 additions and 640 deletions

View File

@@ -107,8 +107,8 @@ export function transformContentForPi(body: string): string {
// Claude-specific tool references
result = result.replace(/\bAskUserQuestion\b/g, "ask_user_question")
result = result.replace(/\bTodoWrite\b/g, "file-based todos (todos/ + /skill:file-todos)")
result = result.replace(/\bTodoRead\b/g, "file-based todos (todos/ + /skill:file-todos)")
result = result.replace(/\bTodoWrite\b/g, "file-based todos (todos/ + /skill:todo-create)")
result = result.replace(/\bTodoRead\b/g, "file-based todos (todos/ + /skill:todo-create)")
// /command-name or /workflows:command-name -> /workflows-command-name
const slashCommandPattern = /(?<![:\w])\/([a-z][a-z0-9_:-]*?)(?=[\s,."')\]}`]|$)/gi