How devfullcycle/claude-mkt-place works
1. Repository role
- This repo is a Claude Code marketplace for architecture/documentation plugins, not an application runtime.
- Its only “product” is a set of prompt-driven plugin packages that Claude Code can install and execute.
2. Top-level boundary
- The root contains a marketplace manifest and a README that acts as the entrypoint for discovery and installation.
- The real functionality lives under plugins/, with each subdirectory representing an independently installable plugin.
3. Marketplace layer
- .claude-plugin/marketplace.json is the marketplace registration boundary.
- It exposes the repo as a source Claude Code can browse/install from, but it does not implement business logic itself.
4. Plugin packaging model
- Every plugin has its own .claude-plugin/plugin.json, which defines it as a standalone package.
- This metadata layer is what Claude Code uses to recognize plugin identity, installation, and command/agent surfaces.
5. Shared plugin structure
- Plugins are organized consistently around:
- commands/ for user-invoked workflows
- agents/ for specialized reasoning roles
- USAGE.md for human-facing instructions
- This creates a clean separation between entry commands, analysis/generation behavior, and documentation.
6. ADRs Management plugin
- Located at plugins/adrs-management/.
- It supports an ADR lifecycle: map codebase → identify decision candidates → generate ADRs → link ADRs.
- The command set (adr-map, adr-identify, adr-generate, adr-link) suggests a pipeline from codebase understanding to formal decision documentation.
- Agents such as adr-analyzer, adr-generator, and adr-linker split analysis, drafting, and relationship management.
7. Diagrams Generator plugin
- Located at plugins/diagrams-generator/.
- It turns Feature Design Documents (FDDs) into visual architecture outputs.
- Two diagram families are supported: C4 and Mermaid.
- Commands (c4-generate, mermaid-generate) route the same source document into different diagram syntaxes, while the agents encapsulate the diagram-specific interpretation rules.
8. Project Analyzer plugin
- Located at plugins/project-analizer/ (note the spelling in the repo).
- It is oriented around architecture discovery and dependency inspection rather than documentation generation alone.
- Commands support two major workflows: generate an architectural report and run a dependency audit.
- Agents (architectural-analyzer, component-deep-analyzer, dependency-auditor) indicate a layered analysis model: system-wide view, component-level drilling, and dependency validation.
9. Development Guidelines plugin
- Located at plugins/development-guidelines/.
- Its purpose is to generate language- and stack-specific engineering guidance.
- The command interface is simpler than the others, implying it is a mostly document-generation workflow driven by user-supplied technology choices.
10. Data flow pattern across the repo
- The common flow is:
- user runs a Claude command
- the command markdown selects the task
- one or more agents perform the specialized reasoning
- the result is emitted as documentation artifact or analysis output
- Inputs are typically repository content, design docs, ADR candidates, or technology-stack parameters; outputs are reports, ADRs, diagrams, or guidelines.
11. Functional boundaries
- This repo does not contain source code for an application domain.
- Its boundaries are documentation/analysis oriented:
- architecture governance via ADRs
- visualization via diagrams
- inspection/auditing via project analysis
- standards generation via development guidelines
12. External dependency surface
- The main external dependency is Claude Code itself, which interprets marketplace metadata, plugin manifests, commands, and agents.
- The GitHub repository is used as the distribution mechanism via the marketplace install flow described in the README.
13. What to show in an architecture diagram
- Depict the repo as a marketplace container with four plugin modules.
- Inside each plugin, show the same three-tier structure: command entrypoints → specialized agents → generated documentation/analysis outputs.
- The primary consumer is a Claude Code user, and the primary output is documentation assets rather than application state or API responses.
Main entry points: .claude-plugin/plugin.json ADR plugin · marketplace.json Marketplace · .claude-plugin/plugin.json Diagrams plugin · .claude-plugin/plugin.json Analyzer plugin
Components 31
Marketplace
Repository-level discovery and install boundary.
- README · Human discovery and install instructions.
README.md - Marketplace · Claude Code marketplace registration boundary.
.claude-plugin/marketplace.json
ADRs
Decision-recording plugin pipeline.
- ADR plugin · Standalone ADR lifecycle plugin package.
plugins/adrs-management/.claude-plugin/plugin.json - ADR usage · Human-facing instructions for ADR workflows.
plugins/adrs-management/USAGE.md - adr-map · Map the codebase for decision context.
plugins/adrs-management/commands/adr-map.md - adr-identify · Identify ADR-worthy decision candidates.
plugins/adrs-management/commands/adr-identify.md - adr-generate · Draft ADR documentation from selected decisions.
plugins/adrs-management/commands/adr-generate.md - adr-link · Link ADRs into the decision graph.
plugins/adrs-management/commands/adr-link.md - ADR analyzer · Interprets codebase structure and decision context.
plugins/adrs-management/agents/adr-analyzer.md - ADR generator · Produces ADR drafts and formal decision records.
plugins/adrs-management/agents/adr-generator.md - ADR linker · Maintains relationships between ADRs and references.
plugins/adrs-management/agents/adr-linker.md - ADRs · Generated decision records and links.
Diagrams
FDD-to-diagram generation plugin.
- Diagrams plugin · Standalone FDD-to-diagram plugin package.
plugins/diagrams-generator/.claude-plugin/plugin.json - Diagram usage · Human-facing instructions for diagram generation.
plugins/diagrams-generator/USAGE.md - c4-generate · Generate C4 diagrams from an FDD.
plugins/diagrams-generator/commands/c4-generate.md - mermaid-generate · Generate Mermaid diagrams from an FDD.
plugins/diagrams-generator/commands/mermaid-generate.md - C4 agent · Applies C4-specific diagram interpretation rules.
plugins/diagrams-generator/agents/c4-diagram-generator.md - Mermaid agent · Applies Mermaid-specific diagram interpretation rules.
plugins/diagrams-generator/agents/mermaid-diagram-generator.md - Diagrams · Generated architecture diagrams in C4 or Mermaid form.
Analysis
Architecture discovery and dependency auditing plugin.
- Analyzer plugin · Standalone architecture and dependency analysis plugin package.
plugins/project-analizer/.claude-plugin/plugin.json - Analyzer usage · Human-facing instructions for report and audit workflows.
plugins/project-analizer/USAGE.md - report-generate · Generate an architectural report.
plugins/project-analizer/commands/generate-architectural-report.md - audit-run · Run a dependency audit.
plugins/project-analizer/commands/run-dependency-audit.md - Architectural analyzer · Builds the system-wide architectural view.
plugins/project-analizer/agents/architectural-analyzer.md - Component analyzer · Dives into component-level structure and boundaries.
plugins/project-analizer/agents/component-deep-analyzer.md - Dependency auditor · Validates dependency relationships and risks.
plugins/project-analizer/agents/dependency-auditor.md - Report · Architectural report and dependency audit results.
Guidelines
Stack-specific guidance generation plugin.
- Guidelines plugin · Standalone engineering-guidance plugin package.
plugins/development-guidelines/.claude-plugin/plugin.json - Guidelines usage · Human-facing instructions for generating guidance.
plugins/development-guidelines/USAGE.md - guidelines-generate · Generate language- and stack-specific guidance.
plugins/development-guidelines/commands/guidelines-generate.md - Guidelines · Generated engineering standards and recommendations.
Connections 36
- README → Marketplace: describes install · README directs users to the marketplace boundary.
- Marketplace → ADR plugin: exposes · Marketplace registration exposes the ADR plugin package.
- Marketplace → Diagrams plugin: exposes · Marketplace registration exposes the diagram plugin package.
- Marketplace → Analyzer plugin: exposes · Marketplace registration exposes the analysis plugin package.
- Marketplace → Guidelines plugin: exposes · Marketplace registration exposes the guidelines plugin package.
- ADR plugin → ADR usage: documents · Plugin package ships usage guidance.
- ADR plugin → adr-map: bundles · Plugin package exposes command entrypoints.
- ADR plugin → adr-identify: bundles · Plugin package exposes command entrypoints.
- ADR plugin → adr-generate: bundles · Plugin package exposes command entrypoints.
- ADR plugin → adr-link: bundles · Plugin package exposes command entrypoints.
- adr-map → ADR analyzer: invokes · Mapping delegates to analysis reasoning.
- adr-identify → ADR analyzer: invokes · Candidate discovery uses analyzer reasoning.
- adr-generate → ADR generator: invokes · Drafting delegates to generation reasoning.
- adr-link → ADR linker: invokes · Linking delegates to relationship management.
- ADR analyzer → ADRs: produces · Analyzer supports ADR discovery output.
- ADR generator → ADRs: produces · Generator emits ADR documents.
- ADR linker → ADRs: produces · Linker emits connected ADR records.
- Diagrams plugin → Diagram usage: documents · Plugin package ships usage guidance.
- Diagrams plugin → c4-generate: bundles · Plugin package exposes command entrypoints.
- Diagrams plugin → mermaid-generate: bundles · Plugin package exposes command entrypoints.
- c4-generate → C4 agent: invokes · C4 command routes through the C4 agent.
- mermaid-generate → Mermaid agent: invokes · Mermaid command routes through the Mermaid agent.
- C4 agent → Diagrams: produces · C4 agent produces visual architecture output.
- Mermaid agent → Diagrams: produces · Mermaid agent produces visual architecture output.
- Analyzer plugin → Analyzer usage: documents · Plugin package ships usage guidance.
- Analyzer plugin → report-generate: bundles · Plugin package exposes command entrypoints.
- Analyzer plugin → audit-run: bundles · Plugin package exposes command entrypoints.
- report-generate → Architectural analyzer: invokes · Report generation starts with architectural analysis.
- report-generate → Component analyzer: invokes · Report generation drills into components when needed.
- audit-run → Dependency auditor: invokes · Audit command delegates to dependency validation.
- Architectural analyzer → Report: produces · System-wide analysis contributes to reports.
- Component analyzer → Report: produces · Component deep dives contribute to reports.
- Dependency auditor → Report: produces · Audit findings contribute to the analysis output.
- Guidelines plugin → Guidelines usage: documents · Plugin package ships usage guidance.
- Guidelines plugin → guidelines-generate: bundles · Plugin package exposes its generation command.
- guidelines-generate → Guidelines: produces · Command generates engineering guidance.