self-test

Run Lark scenario tests, analyze failures, and generate structured reports.

11|2|Updated Jun 25, 2025
One-click install
npx skills add https://github.com/cklxx/elephant.ai --skill self-test-cklxx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: self-test
Source: https://github.com/cklxx/elephant.ai/tree/main/skills/self-test
Command: npx skills add https://github.com/cklxx/elephant.ai --skill self-test-cklxx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill autonomously tests Lark scenarios, analyzes failures, and iteratively repairs issues by tiered guidance.

Core Features & Use Cases

  • Phase 1: Execute tests and collect outputs from the Lark testing suite.
  • Phase 2: Analyze failures and identify root causes across scenarios.
  • Phase 3: Classify failures into categories (test_drift, prompt_issue, tool_bug, gateway_logic, context_issue, llm_quality, architecture).
  • Phase 4: Prioritize fixes by tier (Tier 1-4) with automated or semi-automated remediation workflows.
  • Phase 5: Auto-iterate up to 3 rounds, re-running the test suite after each change.
  • Phase 6: Generate a structured test report with summary, failure details, and repair history.

Quick Start

Run the Lark self-test workflow to execute the scenario tests, analyze failures, and generate a report.

Frequently Asked Questions about self-test

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

FAQPage Schema
How do I automate end-to-end Lark scenario testing and repair failures?

Automate Lark scenario testing by executing test suites, analyzing failures, and iteratively repairing issues through tiered guidance. The workflow classifies root causes and auto-iterates up to three rounds to ensure safe changes to production tests.

What types of failures does Lark workflow testing identify and classify?

Lark workflow testing identifies and classifies failures into categories including test_drift, prompt_issue, tool_bug, gateway_logic, context_issue, llm_quality, and architecture to pinpoint root causes across scenarios.

How does tiered guidance work when fixing automated testing failures?

Tiered guidance prioritizes fixes into Tier 1-4 categories with automated or semi-automated remediation workflows. This structured approach systematically resolves issues by severity and complexity during the test iteration process.

Does the Lark self-test workflow automatically re-run tests after applying a fix?

Yes, the Lark self-test workflow auto-iterates up to three rounds, automatically re-running the test suite after each applied change to verify the remediation and ensure test stability.

What is included in the structured scenario report after testing completes?

The structured ScenarioReport includes a test summary, detailed failure analysis, and the complete repair history. It documents the outcomes of the automated tiered remediation iterations.

Are there limits to the automatic iteration rounds for Lark test repairs?

Yes, automatic iteration is capped at three rounds. This limit ensures safe changes to production tests by restricting the scope of automated, unsupervised remediation workflows during the Lark testing phase.