name: compliance-check description: Check license compatibility, data privacy compliance, and AI ethics. Use when adding dependencies, handling user data, or reviewing regulatory requirements. argument-hint: "[scope: 'licenses', 'privacy', 'ai-ethics', or 'full']" context: fork agent: legal-compliance
Compliance Check
Perform a compliance check with the following scope:
$ARGUMENTS
Compliance Checks
License Compatibility
- List all project dependencies and their licenses
- Verify compatibility with the project's license
- Flag any copyleft (GPL, AGPL) or restrictive licenses
- Check for attribution requirements
Data Privacy
- Trace user data flow through the application:
- Frontend: What data is collected in forms?
- Backend: What data is stored, logged, or forwarded?
- Agents: What user data is sent to external AI APIs?
- Observability: What data is sent for tracing?
- Identify PII handling
- Check data retention practices
AI Ethics
- Review AI agent guardrails (input/output sanitization)
- Check for content filtering mechanisms
- Verify transparency about AI-generated content
- Review for potential bias in agent behavior
Output
Produce a compliance report:
## Summary: [PASS / NEEDS ATTENTION / FAIL]
### License Compliance: [PASS/FAIL]
[Details]
### Data Privacy: [PASS/FAIL]
[Details]
### AI Ethics: [PASS/FAIL]
[Details]
### Action Items
1. [Priority-ordered list of required changes]