Skip to content

pa1nrui1/enterprise-legal-ops / skills/enterprise-legal-ops

enterprise-legal-ops

Verified

中小企业本地法务运营管理 Skill。用于企业内部管理合同、员工/劳动合同/年假/制度、公章证照、章程权限、股东出资、提醒和本地自然语言问库。用户要初始化企业法务工作区、上传历史合同/员工花名册/劳动制度/证照/章程/授权/用印记录、生成本地台账、查询到期提醒、做企业内部合同审查 Word 修订稿、合同起草、HR 风险预判、制度冲突检查、旧制度合法性审查、公章用印权限校验、股东出资提醒、飞书日历提醒配置时触发。

FileKindSize
SKILL.mdskill md5.2 KB
agents/openai.yamlconfig330 B
references/contracts.mdmarkdown4.4 KB
references/hr.mdmarkdown5.5 KB
references/local-query.mdmarkdown2.5 KB
references/reminders.mdmarkdown2.8 KB
references/seals-licenses-governance.mdmarkdown5.3 KB
references/strict-review.mdmarkdown2.3 KB
references/workspace-data-standard.mdmarkdown2.7 KB
scripts/archive_record.pyscript19.7 KB
scripts/contract_redline_review.pyscript4.1 KB
scripts/import_document.pyexecutablescript11.3 KB
scripts/import_roster.pyscript11.9 KB
scripts/init_workspace.pyexecutablescript11.4 KB
scripts/ledger.pyexecutablescript7.4 KB
scripts/query_workspace.pyexecutablescript5.8 KB
scripts/reminders.pyexecutablescript20.9 KB
scripts/strict_review_record.pyscript5.3 KB
tests/test_enterprise_legal_ops.pyexecutablescript19.3 KB

references/local-query.md

View on GitHub
# Local Natural-Language Query

Use for local questions over CSV ledgers, Markdown records, extracted text, and original file paths.

Do not answer legal/risk judgments directly. Route them to strict review.

## Query Types

Management query: answer from local ledgers/records.

Historical query: answer from previous records.

Legal/risk judgment: locate sources, then route to the proper module and strict review.

## Files

```text
<company_workspace>/05-本地问库/
├── search-index.md
├── qa-log.md
├── source-map.csv
├── extracted-text-index.csv
├── query-routing-log.md
└── unresolved-queries.md
```

`source-map.csv`:

```text
source_id,module,object_id,object_name,csv_path,md_path,extracted_text_path,original_file_path,last_updated_at
```

`extracted-text-index.csv`:

```text
text_id,module,object_id,source_file_path,extracted_text_path,read_method,read_status,ocr_status,key_fields,created_at,updated_at
```

## Query Order

```text
understand question
→ classify query type
→ classify module
→ query matching CSV
→ query Markdown record
→ query extracted text if needed
→ locate original file if needed
→ decide whether strict review is needed
→ answer with sources
→ log query
```

## Routing

Contracts: contracts, agreements, orders, supplements, termination, renewal, expiry, review, tracked-change draft, signed version.

HR: employee, labor contract, probation, renewal, annual leave, attendance, wage, social insurance, transfer, salary reduction, discipline, termination, policy.

Governance: license, qualification, seal, authorization, articles, partnership agreement, shareholder meeting, board, guarantee, borrowing, capital contribution.

Reminder: reminder, expiry, overdue, annual check, renewal, pending, today, this week, next month, Feishu.

## Answer Formats

Management query:

```markdown
## 查询结果

- 查询问题:
- 查询范围:
- 找到结果:
- 来源:
- 下一步建议:
```

Historical query:

```markdown
## 历史记录查询结果

- 查询问题:
- 已找到记录:
- 关键摘要:
- 来源文件:
- 下一步建议:
```

Legal/risk judgment:

```markdown
## 需要进入严审

这个问题涉及实质法律判断,不能仅根据台账直接回答。

已找到资料:
-

还需要补充或确认:
-

建议进入模块:
-

下一步:
-
```

No result:

```markdown
## 未查询到结果

- 查询问题:
- 已查询范围:
- 未找到内容:
- 可能原因:
- 建议下一步:
```

Write unresolved queries to `unresolved-queries.md`.
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
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 availableStars: 323kUpdated Claude CodeCodexVerifiedInstall