shared-tools

Fetch Feishu docs, GitLab MRs, GitHub PRs, and MeterSphere data into Markdown or JSON.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/taptap/agents-plugins --skill shared-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shared-tools
Source: https://github.com/taptap/agents-plugins/tree/main/plugins/test/skills/shared-tools
Command: npx skills add https://github.com/taptap/agents-plugins --skill shared-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-dotenv, pycryptodome, pyyaml, and includes scripts (resource) components.

What problem does it solve?

Consolidates reusable data-fetching scripts so AI agents and developer workflows can reliably retrieve Feishu documents, GitLab merge requests, GitHub pull requests, Figma design metadata/screenshots, and MeterSphere test data without reimplementing adapters for each platform.

Core Features & Use Cases

  • Feishu document extraction: convert Feishu wiki/docx/docs into Markdown and download embedded images, including Sheets and board thumbnails.
  • Repository change retrieval: fetch MR/PR diffs, full details and individual file contents from GitLab and GitHub with pagination and robust error reporting.
  • Search utilities: find Story/Bug-related MRs or PRs across mapped projects/repos and output structured JSON summaries.
  • MeterSphere integration: list/import test cases, create modules/plans and update test results for QA automation.
  • Use Cases: feed document and change data to AI-driven change analysis, requirement traceability, test-case generation and automated QA synchronization.

Quick Start

Run the fetch_feishu_doc.py script with a Feishu document URL and an output directory to produce Markdown and download images for agent consumption.

Frequently Asked Questions about shared-tools

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

FAQPage Schema
How do I fetch Feishu documents and convert them to Markdown for AI workflows?

To fetch Feishu documents, run the provided Python script with a Feishu document URL and an output directory. It converts wiki and docx files into Markdown, downloads embedded images, and exports sheet thumbnails for agent consumption.

Can I retrieve GitLab MR and GitHub PR diffs using Python scripts?

Yes, you can retrieve GitLab MR and GitHub PR diffs using the built-in Python scripts. They fetch full details, individual file contents, and paginated change data with robust error reporting, outputting structured JSON for AI automation pipelines.

Do I need environment variables for MeterSphere and Figma integrations?

Yes, you need environment variables configured for MeterSphere and Figma credentials, alongside Feishu, GitLab, and GitHub tokens. These credentials authenticate API access to fetch design metadata, test cases, and repository changes.

What's the best way to sync MeterSphere test cases with repository changes?

The best way to sync MeterSphere test cases is using the provided scripts to list and import test cases, create modules and plans, then update test results based on fetched GitLab MR and GitHub PR data for automated QA synchronization.

How do I find Story or Bug-related merge requests across mapped projects?

You can find Story or Bug-related merge requests using the search utilities provided. They query mapped GitLab projects and GitHub repos, matching related MRs and PRs, and output structured JSON summaries for requirement traceability.

Does fetching Figma design metadata also download screenshots for analysis?

Yes, fetching Figma design metadata includes downloading screenshots and thumbnails. The scripts retrieve design assets and metadata, formatting them as JSON or Markdown outputs suitable for AI-driven change analysis and agent consumption.