agent-artifex:implement

Implement tests and refine tool descriptions for AI service code.

1|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/flexion/claude-domestique --skill agent-artifex-implement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-artifex:implement
Source: https://github.com/flexion/claude-domestique/tree/main/agent-artifex/skills/implement
Command: npx skills add https://github.com/flexion/claude-domestique --skill agent-artifex-implement

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers improve the quality of their AI services code by implementing design principles and writing comprehensive tests, ensuring robustness and reliability.

Core Features & Use Cases

  • Code Improvement: Refactor tool descriptions, fix error messages, add output schemas, and optimize system prompts based on best practices.
  • Test Implementation: Write unit tests, integration tests, and evaluation harnesses to verify code correctness, agent behavior, and response accuracy.
  • Use Case: A developer has a set of tool descriptions that are not performing well. They use this Skill to refine the descriptions according to the provided rubric and then implement tests to ensure the AI agent selects the correct tools with the improved descriptions.

Quick Start

Use the agent-artifex:implement skill to improve the quality of tool descriptions and add tests for the server correctness.

Frequently Asked Questions about agent-artifex:implement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve AI tool descriptions for better agent selection?

Improving AI tool descriptions involves refactoring text based on design principles to help agents select the correct tools. You refine descriptions, fix error messages, and add output schemas to optimize system prompts and overall code quality.

How do I write tests for MCP server correctness and agent behavior?

Writing tests for MCP server correctness requires establishing robust testing frameworks that verify code correctness, agent behavior, and response accuracy. You implement unit tests, integration tests, and evaluation harnesses to ensure server reliability.

What is the best way to refactor error messages in AI services code?

The best way to refactor error messages in AI services code is to apply established design principles and best practices. This improves robustness and reliability by ensuring messages are clear and actionable within the server environment.

Can I use this approach to add output schemas to existing AI system prompts?

Yes, you can add output schemas to existing AI system prompts. This approach supports optimizing system prompts and refining tool descriptions according to a provided rubric to ensure accurate AI agent responses.

How do I set up an evaluation harness for AI agent response accuracy?

Setting up an evaluation harness for AI agent response accuracy involves implementing comprehensive tests within your development workflow. You write integration tests and evaluation harnesses to verify that agents select correct tools and generate accurate outputs.

Why does my AI agent select the wrong tools despite having descriptions?

Your AI agent may select the wrong tools if descriptions do not adhere to design principles. Refactoring tool descriptions and adding output schemas based on a rubric ensures the agent correctly interprets and selects the intended tools.