Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

tool-definition

النجوم٥
التفرعات٠
آخر تحديث١ أبريل ٢٠٢٦ في ١٢:٣٠

Teaches the complete pattern for defining a Claude Code Tool: schema-first design with Zod, the buildTool factory for safe defaults, checkPermissions for side-effect gates, progress callbacks for streaming, and returning { data: T } from call(). Use this whenever adding a new tool to Claude Code or when modifying how an existing tool handles input, permissions, or output. The pattern is the same whether the tool reads files, executes bash, or spawns subagents.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly