基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/personamanagmentlayer/pcl --skill lawyer-expert命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Expert in Persona Control Language (PCL) - language design, compiler architecture, runtime systems, and ecosystem development
Expert system for designing, creating, and validating PCL skills with comprehensive domain knowledge extraction
Expert-level Docker containerization, image optimization, and container orchestration. Use this skill for building efficient Docker images, managing containers, and implementing Docker best practices.
| name | lawyer-expert |
| version | 1.0.0 |
| description | Expert-level legal systems, contracts, compliance, and legal technology |
| category | professional |
| tags | ["legal","contracts","compliance","law","legal-tech"] |
| allowed-tools | ["Read","Write","Edit"] |
Expert guidance for legal systems, contract law, regulatory compliance, and legal technology implementation.
from datetime import datetime, timedelta
from enum import Enum
from typing import List, Optional
class ContractStatus(Enum):
DRAFT = "draft"
UNDER_REVIEW = "under_review"
NEGOTIATION = "negotiation"
APPROVED = "approved"
EXECUTED = "executed"
EXPIRED = "expired"
TERMINATED = "terminated"
class Contract:
def __init__(self, title: str, parties: List[str],
effective_date: datetime, expiration_date: datetime):
self.id = self.generate_contract_id()
self.title = title
self.parties = parties
self.effective_date = effective_date
self.expiration_date = expiration_date
self.status = ContractStatus.DRAFT
self.clauses = []
self.amendments = []
self.version = 1
def add_clause(self, clause_type: str, content: str):
"""Add clause to contract"""
self.clauses.append({
: clause_type,
: content,
: datetime.now()
})
():
.amendments.append({
: amendment,
: reason,
: datetime.now(),
: .version +
})
.version +=
() -> :
days_until_expiry = (.expiration_date - datetime.now()).days
{
: days_until_expiry < ,
: days_until_expiry,
: < days_until_expiry <
}
() -> :
(signatures) < (.parties):
ValueError()
.status = ContractStatus.EXECUTED
{
: .,
: datetime.now(),
: signatures,
: .status.value
}
class LegalDocumentGenerator:
def generate_nda(self, disclosing_party: str, receiving_party: str,
term_months: int = 24) -> str:
"""Generate Non-Disclosure Agreement"""
template = f"""
NON-DISCLOSURE AGREEMENT
This Non-Disclosure Agreement ("Agreement") is entered into as of {datetime.now().strftime('%B %d, %Y')}
BETWEEN:
{disclosing_party} ("Disclosing Party")
AND
{receiving_party} ("Receiving Party")
1. DEFINITION OF CONFIDENTIAL INFORMATION
The term "Confidential Information" means any and all information disclosed by the Disclosing Party...
2. OBLIGATIONS OF RECEIVING PARTY
The Receiving Party agrees to:
a) Hold Confidential Information in strict confidence
b) Not disclose to any third parties
c) Use solely for the purpose of evaluating potential business relationship
3. TERM
This Agreement shall remain in effect for {term_months} months from the date of execution.
4. RETURN OF MATERIALS
Upon termination, all Confidential Information must be returned or destroyed.
_________________________ _________________________
{disclosing_party} {receiving_party}
Date: _______________ Date: _______________
"""
return template
def generate_service_agreement(self, provider: str, client: str,
services: List[str], fee: float) -> str:
"""Generate Service Agreement"""
services_list = "\n".join([f" - {s}" for s in services])
template = f"""
PROFESSIONAL SERVICES AGREEMENT
Date:
PARTIES:
Service Provider:
Client:
1. SERVICES
Provider agrees to perform the following services:
2. COMPENSATION
Client agrees to pay $ for the services rendered.
3. PAYMENT TERMS
Payment due within 30 days of invoice date.
4. TERM AND TERMINATION
Either party may terminate with 30 days written notice.
5. CONFIDENTIALITY
Both parties agree to maintain confidentiality of proprietary information.
6. LIMITATION OF LIABILITY
Provider's liability limited to the amount of fees paid.
SIGNATURES:
_________________________ _________________________
"""
template
class ComplianceManager:
def __init__(self):
self.regulations = []
self.compliance_checks = []
def assess_gdpr_compliance(self, system_data: dict) -> dict:
"""Assess GDPR compliance"""
checks = {
"data_inventory": self.check_data_inventory(system_data),
"consent_management": self.check_consent_mechanisms(system_data),
"data_subject_rights": self.check_dsr_processes(system_data),
"data_protection": self.check_encryption(system_data),
"breach_notification": self.check_breach_procedures(system_data),
"dpo_appointed": system_data.get("dpo_appointed", False),
"privacy_policy": self.check_privacy_policy(system_data)
}
compliance_score = sum(checks.values()) / len(checks) * 100
return {
"compliant": compliance_score >= 90,
"score": compliance_score,
"checks": checks,
"recommendations": self.generate_recommendations(checks)
}
def assess_hipaa_compliance(self, healthcare_system: ) -> :
checks = {
: .check_access_controls(healthcare_system),
: .check_audit_logging(healthcare_system),
: .check_phi_encryption(healthcare_system),
: healthcare_system.get(, ),
: .check_training(healthcare_system),
: .check_risk_assessment(healthcare_system)
}
{
: (checks.values()),
: checks,
: [k k, v checks.items() v]
}
() -> :
data_collected = .join([ dt data_types])
❌ No contract version control ❌ Manual tracking of contract deadlines ❌ Storing sensitive data unencrypted ❌ No compliance documentation ❌ Ignoring data subject rights requests ❌ No legal review of automated documents ❌ Inadequate audit trails