Skip to content

Commit fbaf601

Browse files
Merge pull request #7 from charlesjones-dev/feat/v2.1.0-modernize-compliance-principles
feat: add ai-modernize, ai-compliance plugins and workflow-principles skill (v2.1.0)
2 parents 42dc139 + 0a0b816 commit fbaf601

14 files changed

Lines changed: 2959 additions & 11 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"metadata": {
88
"description": "A curated list of custom Claude Code plugins, agents, and skills for developers.",
9-
"version": "2.0.2",
9+
"version": "2.1.0",
1010
"pluginRoot": "./plugins"
1111
},
1212
"plugins": [
@@ -121,8 +121,8 @@
121121
{
122122
"name": "ai-workflow",
123123
"source": "./plugins/ai-workflow",
124-
"description": "AI-powered development workflow automation - Phase-based planning, implementation orchestration, preflight code quality checks with security scanning, and ship-it workflow for efficient sub-agent execution",
125-
"version": "1.3.0",
124+
"description": "AI-powered development workflow automation - Phase-based planning, implementation orchestration, preflight code quality checks with security scanning, ship-it workflow, and development principles generator for CLAUDE.md",
125+
"version": "1.4.0",
126126
"keywords": [
127127
"ai",
128128
"workflow",
@@ -143,7 +143,10 @@
143143
"push",
144144
"pull-request",
145145
"automation",
146-
"productivity"
146+
"productivity",
147+
"principles",
148+
"standards",
149+
"claude-md"
147150
],
148151
"author": {
149152
"name": "Charles Jones",
@@ -215,6 +218,53 @@
215218
"url": "https://charlesjones.dev"
216219
},
217220
"repository": "https://github.com/charlesjones-dev/claude-code-plugins-dev"
221+
},
222+
{
223+
"name": "ai-modernize",
224+
"source": "./plugins/ai-modernize",
225+
"description": "AI-powered codebase modernization assessment - Interactive audit and quick scan skills to identify technical debt, anti-patterns, and quality issues from older AI-generated code",
226+
"version": "1.0.0",
227+
"keywords": [
228+
"ai",
229+
"modernization",
230+
"code-quality",
231+
"technical-debt",
232+
"refactoring",
233+
"solid",
234+
"dry",
235+
"anti-patterns",
236+
"ai-generated-code",
237+
"skills"
238+
],
239+
"author": {
240+
"name": "Charles Jones",
241+
"url": "https://charlesjones.dev"
242+
},
243+
"repository": "https://github.com/charlesjones-dev/claude-code-plugins-dev"
244+
},
245+
{
246+
"name": "ai-compliance",
247+
"source": "./plugins/ai-compliance",
248+
"description": "AI-powered software compliance auditing - Interactive license audit and NOTICE/ATTRIBUTION file generation for open-source dependency compliance",
249+
"version": "1.0.0",
250+
"keywords": [
251+
"ai",
252+
"compliance",
253+
"licensing",
254+
"open-source",
255+
"audit",
256+
"attribution",
257+
"notice",
258+
"legal",
259+
"copyleft",
260+
"dependencies",
261+
"skills"
262+
],
263+
"author": {
264+
"name": "Charles Jones",
265+
"url": "https://charlesjones.dev"
266+
},
267+
"repository": "https://github.com/charlesjones-dev/claude-code-plugins-dev"
218268
}
219269
]
220270
}

CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,69 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.1.0] - 2026-03-22
11+
12+
### Added
13+
14+
#### AI-Modernize Plugin (v1.0.0) - NEW PLUGIN
15+
16+
- **New plugin for codebase modernization assessment** - Identifies technical debt, anti-patterns, and quality issues from older AI-generated or legacy code
17+
18+
- `/modernize-audit` interactive skill for comprehensive modernization assessment
19+
- Guided configuration: AI tool history, codebase era, tech stack detection, category selection, scope, severity threshold
20+
- 12 assessment categories: SOLID/DRY/KISS violations, type safety, error handling, security, performance, testing, architecture, frontend debt, dependency health, AI hallucination artifacts, modern pattern gaps, configuration/DevOps
21+
- Modernization Score (0-100) with category breakdown
22+
- AI-assisted remediation time estimates (not manual development time)
23+
- Phased modernization roadmap with prioritized checklist
24+
- "Why Older AI Models Did This" educational context for each finding
25+
- Delegates to `ai-modernize:modernize-auditor` subagent for deep analysis
26+
27+
- `/modernize-scan` quick scan skill for fast, targeted assessments
28+
- Accepts file or directory path argument (e.g., `/modernize-scan ./src`)
29+
- Runs all categories with default settings, no interactive questions
30+
- Auto-detects technology stack
31+
- Produces abbreviated report with same scoring and estimate format
32+
33+
- Reports saved to `/docs/modernize/` with timestamped filenames
34+
35+
#### AI-Workflow Plugin (v1.4.0)
36+
37+
- `/workflow-principles` new skill for generating context-aware Development Principles in CLAUDE.md
38+
- Automated project discovery: detects monorepo structure, tech stack, frameworks, validation libraries, state management, testing tools
39+
- Interactive configuration: principle categories (SOLID, DRY, KISS, YAGNI, modularity, components, type safety, error handling, testing)
40+
- Monorepo-aware: detects shared packages, maps dependency direction, generates shared package rules with real package names
41+
- Frontend-aware: generates component architecture rules tailored to detected framework (React, Vue, Angular, Svelte)
42+
- Smart merge: appends, replaces, or merges with existing CLAUDE.md content
43+
- Supports both project CLAUDE.md and user-level ~/.claude/CLAUDE.md
44+
- Custom rules support for project-specific conventions
45+
- Uses real package names, paths, and library names from the detected project (never generic placeholders)
46+
47+
#### AI-Compliance Plugin (v1.0.0) - NEW PLUGIN
48+
49+
- **New plugin for software license compliance auditing** - Detects open-source licenses, flags legal risks, and generates attribution files
50+
51+
- `/compliance-license-audit` interactive skill for comprehensive license compliance audit
52+
- Auto-detects project license with confirmation
53+
- Scans all dependency manifests across 8 package ecosystems (npm, pip, NuGet, Go, Rust, Ruby, PHP, Java)
54+
- Classifies licenses: Permissive, Weak Copyleft, Strong Copyleft, Unknown/None
55+
- License compatibility analysis against the project's own license
56+
- Flags copyleft contamination risks with configurable risk tolerance
57+
- Optional transitive dependency analysis via lock files
58+
- Source code scanning for license headers and vendored/copied code
59+
- License Compliance Score (0-100)
60+
- Identifies unfulfilled license obligations (missing NOTICE files, attribution)
61+
- Provides alternative components for incompatible dependencies
62+
63+
- `/compliance-notice-generate` interactive skill for generating attribution files
64+
- Four output formats: NOTICE, THIRD-PARTY-NOTICES.md, ATTRIBUTION.md, licenses.json
65+
- Configurable scope: production only, all dependencies, or custom groups
66+
- Optional full license text inclusion
67+
- Extracts actual copyright notices from LICENSE files
68+
- Handles dual-licensed packages and license exceptions
69+
- Detects existing attribution files with replace/create-alongside options
70+
71+
- Reports saved to `/docs/compliance/` with timestamped filenames
72+
1073
## [2.0.2] - 2026-03-19
1174

1275
### Added

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Claude Code Plugins for Developers
22

3-
[![Version](https://img.shields.io/badge/version-2.0.2-blue.svg)](https://github.com/charlesjones-dev/claude-code-plugins-dev/releases)
3+
[![Version](https://img.shields.io/badge/version-2.1.0-blue.svg)](https://github.com/charlesjones-dev/claude-code-plugins-dev/releases)
44
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
55
[![GitHub Issues](https://img.shields.io/github/issues/charlesjones-dev/claude-code-plugins-dev.svg)](https://github.com/charlesjones-dev/claude-code-plugins-dev/issues)
66
[![GitHub Stars](https://img.shields.io/github/stars/charlesjones-dev/claude-code-plugins-dev.svg)](https://github.com/charlesjones-dev/claude-code-plugins-dev/stargazers)
@@ -25,7 +25,9 @@ This Claude Code plugin marketplace provides plugins that extend Claude Code's c
2525
| [ai-performance](plugins/ai-performance/) | AI-powered performance optimization and bottleneck detection | `/performance-audit` | `performance-auditor` |
2626
| [ai-security](plugins/ai-security/) | AI-powered security auditing with reproducible reports | `/security-init`, `/security-audit`, `/security-scan-dependencies` | `security-auditor`, `security-dependency-scanner` |
2727
| [ai-statusline](plugins/ai-statusline/) | AI-powered status line customization with progress bars | `/statusline-wizard`, `/statusline-edit` | - |
28-
| [ai-workflow](plugins/ai-workflow/) | AI-powered development workflow automation | `/workflow-plan-phases`, `/workflow-implement-phases`, `/workflow-preflight`, `/workflow-ship` | - |
28+
| [ai-workflow](plugins/ai-workflow/) | AI-powered development workflow automation | `/workflow-plan-phases`, `/workflow-implement-phases`, `/workflow-preflight`, `/workflow-ship`, `/workflow-principles` | - |
29+
| [ai-compliance](plugins/ai-compliance/) | AI-powered license compliance auditing and attribution generation | `/compliance-license-audit`, `/compliance-notice-generate` | - |
30+
| [ai-modernize](plugins/ai-modernize/) | AI-powered codebase modernization assessment for technical debt | `/modernize-audit`, `/modernize-scan` | `modernize-auditor` |
2931
| [ai-writing](plugins/ai-writing/) | AI-powered writing quality tools for natural-sounding text | `/writing-humanize` | - |
3032

3133
> **📝 Note on Audit Plugins:** The `ai-accessibility`, `ai-security`, and `ai-performance` plugins are developer-focused analysis tools designed to identify issues during development. They perform static code analysis, with `ai-accessibility` and `ai-security` also offering URL scanning capabilities (`/accessibility-audit` with Playwright MCP and `/security-scan-dependencies` respectively). These plugins are meant to **complement** (not replace) runtime testing tools, professional services, and manual testing. Use these plugins to catch issues early in the development phase, then validate with specialized testing tools and services appropriate to your domain.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "ai-compliance",
3+
"version": "1.0.0",
4+
"description": "AI-powered software compliance auditing - Interactive license audit and NOTICE/ATTRIBUTION file generation for open-source dependency compliance",
5+
"author": {
6+
"name": "Charles Jones",
7+
"url": "https://charlesjones.dev"
8+
},
9+
"repository": "https://github.com/charlesjones-dev/claude-code-plugins-dev",
10+
"license": "MIT",
11+
"keywords": [
12+
"compliance",
13+
"licensing",
14+
"open-source",
15+
"audit",
16+
"attribution",
17+
"notice",
18+
"legal",
19+
"copyleft",
20+
"dependencies",
21+
"skills"
22+
]
23+
}

plugins/ai-compliance/README.md

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# AI Compliance Plugin
2+
3+
AI-powered software compliance auditing for open-source license detection, risk assessment, and attribution file generation.
4+
5+
## Overview
6+
7+
Open-source license compliance is a legal obligation that many projects overlook. Using a GPL-licensed dependency in a proprietary project could require disclosing your source code. A dependency with no license at all is legally "all rights reserved" and can't be used without explicit permission. This plugin scans your dependency tree, identifies every license, flags incompatibilities with your project's license, and generates the attribution files required by licenses like MIT, BSD, and Apache 2.0.
8+
9+
## Skills
10+
11+
### `/compliance-license-audit` - License Compliance Audit
12+
13+
Interactive, comprehensive audit of all open-source licenses in your dependency tree.
14+
15+
**Features:**
16+
- Auto-detects your project's license with confirmation
17+
- Scans all dependency manifests (package.json, requirements.txt, .csproj, go.mod, Cargo.toml, etc.)
18+
- Identifies direct and transitive dependency licenses
19+
- Scans source code for license headers and vendored/copied code
20+
- Classifies licenses: Permissive, Weak Copyleft, Strong Copyleft, Unknown
21+
- Flags incompatibilities with your project's license
22+
- Identifies dependencies with no license (highest legal risk)
23+
- Produces a License Compliance Score (0-100)
24+
- Lists all unfulfilled license obligations (missing NOTICE files, attribution, etc.)
25+
- Provides specific alternatives for problematic dependencies
26+
27+
**Usage:**
28+
```bash
29+
/compliance-license-audit
30+
```
31+
32+
The skill will interactively ask about:
33+
1. Your project's license (auto-detected with confirmation)
34+
2. Audit scope (full, dependencies only, or source code only)
35+
3. Risk tolerance (strict, moderate, permissive only, or informational)
36+
4. Whether to include transitive dependencies
37+
38+
**Report output:** `/docs/compliance/YYYY-MM-DD-HHMMSS-license-audit.md`
39+
40+
### `/compliance-notice-generate` - Generate NOTICE / Attribution File
41+
42+
Generates legally compliant NOTICE, ATTRIBUTION, or THIRD-PARTY-NOTICES files from your dependency tree.
43+
44+
**Features:**
45+
- Four output formats: NOTICE, THIRD-PARTY-NOTICES.md, ATTRIBUTION.md, licenses.json
46+
- Configurable scope (production only, all, or custom dependency groups)
47+
- Optional full license text inclusion
48+
- Extracts actual copyright notices from LICENSE files
49+
- Handles dual-licensed packages
50+
- Supports all major package ecosystems
51+
- Detects and handles existing attribution files
52+
53+
**Usage:**
54+
```bash
55+
/compliance-notice-generate
56+
```
57+
58+
The skill will interactively ask about:
59+
1. Output format (NOTICE, THIRD-PARTY-NOTICES.md, ATTRIBUTION.md, or licenses.json)
60+
2. Content scope (production only, all, or custom)
61+
3. Whether to include full license texts
62+
4. How to handle existing attribution files (if any)
63+
64+
**Output:** Generated file saved to project root directory.
65+
66+
## License Classifications
67+
68+
| Classification | Examples | Risk Level |
69+
|---------------|----------|------------|
70+
| Permissive | MIT, Apache-2.0, BSD-2, BSD-3, ISC, Unlicense | Low |
71+
| Weak Copyleft | LGPL-2.1, LGPL-3.0, MPL-2.0, EPL-2.0 | Moderate |
72+
| Strong Copyleft | GPL-2.0, GPL-3.0, AGPL-3.0, SSPL-1.0 | High-Critical |
73+
| No License | All rights reserved by default | Critical |
74+
75+
## Supported Package Ecosystems
76+
77+
| Ecosystem | Manifest | Lock File |
78+
|-----------|----------|-----------|
79+
| Node.js | package.json | package-lock.json, yarn.lock, pnpm-lock.yaml |
80+
| Python | requirements.txt, pyproject.toml, Pipfile | Pipfile.lock, poetry.lock |
81+
| .NET | *.csproj, packages.config | packages.lock.json |
82+
| Go | go.mod | go.sum |
83+
| Rust | Cargo.toml | Cargo.lock |
84+
| Ruby | Gemfile | Gemfile.lock |
85+
| PHP | composer.json | composer.lock |
86+
| Java/Kotlin | pom.xml, build.gradle | - |
87+
88+
## Why This Matters
89+
90+
- **MIT License** requires: "The above copyright notice and this permission notice shall be included in all copies"
91+
- **Apache 2.0** requires: Reproducing the NOTICE file in any distribution
92+
- **BSD 3-Clause** requires: "Redistributions in binary form must reproduce the above copyright notice"
93+
- **No license** means: "All rights reserved" - you legally cannot use the code
94+
- **GPL in proprietary code** means: You may be obligated to release your source code
95+
96+
A single overlooked AGPL dependency in a SaaS application could theoretically require you to open-source your entire application.
97+
98+
## Recommended Workflow
99+
100+
1. Run `/compliance-license-audit` to get a full picture of your license landscape
101+
2. Address any critical findings (incompatible licenses, missing licenses)
102+
3. Run `/compliance-notice-generate` to create attribution files fulfilling your obligations
103+
4. Add attribution file maintenance to your release checklist
104+
105+
## Plugin Details
106+
107+
| Field | Value |
108+
|-------|-------|
109+
| Version | 1.0.0 |
110+
| Author | [Charles Jones](https://charlesjones.dev) |
111+
| License | MIT |
112+
| Repository | [claude-code-plugins-dev](https://github.com/charlesjones-dev/claude-code-plugins-dev) |

0 commit comments

Comments
 (0)