Add iFLYTEK AI skills plugin - #293
Open
FenjuFu wants to merge 5 commits into
Open
Conversation
Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
6 tasks
Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit 90d3dd8. Configure here.
Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
iflytek-skills, a third-party skill-only plugin with eight official iFLYTEK speech, OCR, transcription, proofreading, translation, and multimodal workflowsCloses #292.
Scope and provenance
The skill packages are based on
iflytek/iFly-Skills@062da188ac91ef11047e430d4ab90bbed296b97c, and the upstream Apache-2.0 license is included unchanged. Files modified for marketplace packaging carry a prominent notice.Included skills:
iflytek-hyper-ttsiflytek-image-understandingiflytek-ocr-invoiceiflytek-pdf-image-ocriflytek-speed-transcriptioniflytek-text-proofreadiflytek-translateiflytek-video-translateThe plugin has no hooks, background processes, MCP server, automatic dependency installation, or bundled credentials. The selected scripts use HTTPS or WSS service endpoints.
As proposed in #292, this initial version excludes the incomplete contract-review clients, the voice-cloning training flow that currently uses plain HTTP, and the unrelated animated-diagram skill.
Review fixes
The follow-up commits address all eight Bugbot findings across two review rounds:
Hostheader with its signed endpointSHA-256=prefix--pdf-urland no dummy local path--task-idtranscription query path after--no-poll--task-idJSON into the documentedtext/segmentsshape--outputfor task-query resultsEight offline regression tests cover these cases.
Data boundary
Invoked skills send the requested text, image, PDF, audio, or video URL to the corresponding iFLYTEK API. The plugin README tells users to confirm organizational policy, service terms, entitlement, quota, and pricing before sending sensitive content.
Validation
node scripts/validate-plugins.mjs— passespython -m compileall -q third_party/iflytek-skills/skills— passeswebsocket-clientenvironment--helpsuccessfully with isolated runtime dependenciesSKILL.mdfrontmatter blocks have matching names and descriptionsSigned-off-bytrailersNote
Medium Risk
New third-party plugin that egresses user text/media to external iFLYTEK APIs and relies on multiple credential env-var families; risk is bounded to the new package but reviewers should confirm data-boundary docs and packaging auth fixes.
Overview
Adds the iFLYTEK Skills integration plugin to the Cursor marketplace by registering
iflytek-skillsinmarketplace.jsonand the root README, alongside a newthird_party/iflytek-skillspackage (manifest, Apache-2.0 license, changelog, and plugin README).The plugin ships eight agent skills—hyper TTS, image understanding, invoice OCR, PDF/image OCR, speed transcription, Chinese text proofreading, machine translation, and video translation—each with
SKILL.mdguidance and on-invoke Python CLIs that call iFLYTEK HTTPS/WSS APIs. User content is sent to those endpoints only when a skill runs; credentials come from documented env vars (XFEI_*,IFLY_*,XFYUN_*), with no bundled secrets, hooks, or MCP.Packaging layers targeted fixes on upstream
iFly-Skills(image OCR HMAC host signing, proofreadingHostheaders, transcription request digests and multipart uploads,--task-id/--no-pollflows, URL-only PDF OCR) plus regression tests for those behaviors. Some upstream workflows are intentionally omitted (contract review, voice cloning, animated diagram).Reviewed by Cursor Bugbot for commit 636eaf9. Bugbot is set up for automated code reviews on this repo. Configure here.