a5c-ai/babysitter / library/specializations/code-migration-modernization/skills/license-compliance-checker
license-compliance-checker
VerifiedAutomated license compliance verification for dependencies to ensure legal compliance during migration
README.md
View on GitHub# License Compliance Checker Skill
## Overview
The License Compliance Checker skill verifies license compliance across all dependencies. It ensures legal compliance during migration by identifying license conflicts and tracking attribution requirements.
## Quick Start
### Prerequisites
- Package manager for your language
- Optional: FOSSA, WhiteSource, or license-checker
### Basic Usage
1. **Scan dependencies**
```bash
# npm
npx license-checker --json
# Python
pip-licenses --format=json
# Go
go-licenses csv ./...
```
2. **Review compliance status**
- Check for copyleft licenses
- Verify compatibility
- Generate attribution file
## Features
### License Categories
| Category | Risk | Examples |
|----------|------|----------|
| Permissive | Low | MIT, Apache-2.0, BSD |
| Weak Copyleft | Medium | LGPL, MPL |
| Strong Copyleft | High | GPL, AGPL |
| Proprietary | Review | Custom licenses |
### Policy Enforcement
Define allowed/blocked licenses:
```json
{
"allowed": ["MIT", "Apache-2.0", "BSD-3-Clause"],
"blocked": ["GPL-3.0", "AGPL-3.0"],
"reviewRequired": ["LGPL-3.0"]
}
```
## Configuration
```json
{
"projectLicense": "MIT",
"policyFile": "./license-policy.json",
"generateSBOM": true,
"sbomFormat": "SPDX",
"attributionFile": "./THIRD-PARTY-LICENSES.txt"
}
```
## Related Documentation
- [SKILL.md](./SKILL.md) - Full skill specification
- [SPDX License List](https://spdx.org/licenses/)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |