pa1nrui1/enterprise-legal-ops / skills/enterprise-legal-ops
enterprise-legal-ops
Verified中小企业本地法务运营管理 Skill。用于企业内部管理合同、员工/劳动合同/年假/制度、公章证照、章程权限、股东出资、提醒和本地自然语言问库。用户要初始化企业法务工作区、上传历史合同/员工花名册/劳动制度/证照/章程/授权/用印记录、生成本地台账、查询到期提醒、做企业内部合同审查 Word 修订稿、合同起草、HR 风险预判、制度冲突检查、旧制度合法性审查、公章用印权限校验、股东出资提醒、飞书日历提醒配置时触发。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.2 KB |
| agents/openai.yaml | config | 330 B |
| references/contracts.md | markdown | 4.4 KB |
| references/hr.md | markdown | 5.5 KB |
| references/local-query.md | markdown | 2.5 KB |
| references/reminders.md | markdown | 2.8 KB |
| references/seals-licenses-governance.md | markdown | 5.3 KB |
| references/strict-review.md | markdown | 2.3 KB |
| references/workspace-data-standard.md | markdown | 2.7 KB |
| scripts/archive_record.py | script | 19.7 KB |
| scripts/contract_redline_review.py | script | 4.1 KB |
| scripts/import_document.pyexecutable | script | 11.3 KB |
| scripts/import_roster.py | script | 11.9 KB |
| scripts/init_workspace.pyexecutable | script | 11.4 KB |
| scripts/ledger.pyexecutable | script | 7.4 KB |
| scripts/query_workspace.pyexecutable | script | 5.8 KB |
| scripts/reminders.pyexecutable | script | 20.9 KB |
| scripts/strict_review_record.py | script | 5.3 KB |
| tests/test_enterprise_legal_ops.pyexecutable | script | 19.3 KB |
references/reminders.md
View on GitHub# Reminders Module
Use for all local reminders and optional Feishu calendar reminders.
## Scope
Feishu is only for calendar reminders. Do not use Feishu for contract review, HR review, seal/license deliverables, or approval workflows.
All reminders are written locally first.
## Files
```text
<company_workspace>/04-提醒中心/
├── reminders.csv
├── reminder-summary.md
├── feishu-config.md
├── feishu-sync-log.md
├── completed-reminders.csv
└── failed-sync/
```
`reminders.csv` fields:
```text
reminder_id,source_module,source_id,reminder_type,title,description,trigger_date,advance_days,remind_date,priority,local_status,feishu_enabled,feishu_status,feishu_event_id,source_file_path,record_md_path,owner,next_action,created_at,updated_at
```
## Status Values
Local status:
```text
待提醒
已提醒
已完成
已取消
已延期
信息缺失
待用户确认
```
Feishu status:
```text
未启用
待同步
已同步
同步失败
已取消
无需同步
```
Priority:
```text
低
中
高
紧急
```
## Default Advance Days
```text
合同到期:30
自动续约:30
提前通知解除/不续约:15 days before notice deadline
劳动合同到期:30
试用期结束:7
证照到期:60
证照年检:30
授权失效:15
股东出资到期:60
年假即将到期:30
```
If date is unclear or OCR-suspect, create an `信息缺失` or `待用户确认` reminder, not a firm date reminder.
## Feishu Config
`feishu-config.md` should record:
- whether Feishu reminders are enabled
- default calendar
- default advance days
- whether to auto-create events
- whether local reminders are kept when sync fails
- last config time
If Feishu is disabled, set `feishu_status` to `未启用`; other modules remain fully functional.
## Feishu Sync
Only sync when:
- Feishu is enabled
- date is clear
- status is not `信息缺失` or `待用户确认`
- not already synced or date changed
- config allows auto-create or user confirmed
On success:
- update `reminders.csv`
- set `feishu_event_id`
- set `feishu_status=已同步`
- write `feishu-sync-log.md`
- tell user
On failure:
- keep local reminder
- set `feishu_status=同步失败`
- record real error
- tell user retry/local-only options
Use `scripts/reminders.py sync-feishu` only for Feishu calendar reminders. It calls `lark-cli calendar +create` with user identity and leaves local reminders intact when sync fails. Use `--dry-run` for validation without writing to Feishu.
## Query And State Changes
Support queries for future, overdue, high-priority, missing-info, pending-confirmation, and Feishu-failed reminders.
Completing, cancelling, or postponing reminders must preserve history. Never delete records silently.
Use:
```text
scripts/reminders.py complete
scripts/reminders.py cancel
scripts/reminders.py postpone
scripts/reminders.py summary
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |