Add plugin: mcodeforlegal - #9
Open
Hylouis233 wants to merge 1 commit into
Open
Conversation
Mainland China-first legal workflow plugin for MiniMax Code: contract review, litigation, data compliance, corporate, labor & IP, with statute status checks and citation gates. 43 skills + flk stdio MCP (official PRC law database), packaged from https://github.com/Hylouis233/mcodeforlegal (Apache-2.0).
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.
What changes
Adds
plugins/Hylouis233/mcodeforlegal— a Mainland China-first legal workflow plugin (43 Skills + flk stdio MCP against the official PRC law database), packaged from https://github.com/Hylouis233/mcodeforlegal (Apache-2.0).Chinese legal work needs more than generic legal chat: statute currency, citation integrity, jurisdiction differences, and non-lawyer risk all have to be engineered. This plugin adapts the playbook architecture of anthropics/claude-for-legal to Chinese practice: skills ship zero legal positions (the user's prose practice profile supplies them), every statute reference starts as a
[CITE:__]placeholder and is filled only after verification, and every deliverable passes a citation gate before it can be sent.User value
A MiniMax Code user can run playbook-driven contract review with statute verification. Example prompt (copyable):
Expected result: the agent loads the user's practice profile (built once via cold-start-interview), routes the document to the NDA specialty review, performs a scope check (is it really an NDA or a disguised non-compete?), triages clauses into 🟢🟡🔴 buckets against the user's own playbook positions, and outputs a memo with role-appropriate header, reviewer note (sources / read / flagged / currency / before-relying), dual-axis severity (legal risk × business friction), and a next-steps decision tree. Statute checks go through the bundled flk connector (verified_current / amended / repealed / not_yet_effective / not_found / source_unavailable — not_found never means "doesn't exist"). Non-lawyer users hit an explicit confirmation gate before legally consequential actions. Also included: litigation support, data compliance (PIPL/DSL/CSL), corporate (2023 Company Law), labor, IP, due diligence, and tabular batch review.
Plugin submission checklist
plugins/<github-owner>/<plugin-name>.plugin.jsonname matches the Plugin directory.README.mdincludes a real example prompt and expected result.LICENSEandplugin.jsondeclare an open-source license (Apache-2.0).TODOhas been replaced (no TODOs anywhere).npm run checkpasses.Evidence
Manual checks: flk MCP stdio handshake + live tools verified against the real database (flk_search / flk_detail / flk_check — e.g. 劳动合同法 → 有效/effective, 2013-07-01 施行); PKULaw enablement script handshake-verifies credentials before writing anything and never stores tokens (env reference only).
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.