backend-architecture
Registry-driven backend architecture meta-skill backed by a public-safe ontology distilled from FastAPI clean architecture, Spring modern API, Python…
Skill by munlucky
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/munlucky-backend-architecture
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/backend-architecture
What's inside
- Skill name
backend-architecture- Description
- Registry-driven backend architecture meta-skill backed by a public-safe ontology distilled from FastAPI clean architecture, Spring modern API, Python architecture patterns, DDD first steps, Tidy First, and Modern Java backend code-quality graphs. Use when Codex needs to reason about backend layers, dependency direction, repository/service/use-case boundaries, DDD subdomains, bounded contexts, aggregates, domain events, DTO/schema boundaries, data/runtime/operations boundaries, framework leak risks, structure versus behavior changes, coupling, cohesion, reversible architecture changes, FastAPI/Spring adapter mapping, or Java Optional/Stream/CompletableFuture choices that affect Spring/backend maintainability.
- License
- MIT
- Instructions
- 86 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (16)
- SKILL.md
- openai.yaml · agents/
- canonical_registry.jsonl · references/
- chunks.jsonl · references/
- edges.jsonl · references/
- framework_adapters.yaml · references/
- graph_manifest.json · references/
- nodes.jsonl · references/
- ontology.yaml · references/
- promotion_records.jsonl · references/
- query_qa.jsonl · references/
- source_registry.yaml · references/
- build_from_source_skills.py · scripts/
- expand_context.py · scripts/
- query_graph.py · scripts/
- validate_graph.py · scripts/
SKILL.md (first lines)
# Backend Architecture ## Use This Skill Use this skill when the user asks about: - backend layer boundaries: domain, application, interface, infrastructure - dependency direction, dependency inversion, repository abstractions, service/use-case boundaries - DTO/schema, transaction, persistence, or framework adapter placement - whether a framework API is leaking into application or domain code - how to sequence backend refactors as structure changes versus behavior changes - coupling, cohesion, change cost, and reversible architecture changes - Spring MVC, Spring Service/Repository/JPA, OpenAPI, WebFlux, and Spring Security boundary placement - Java `Optional`, `Stream`, `CompletableFuture`, side-effect, async, and code-style choices that affect Spring/backend maintainability - API design, data modeling, event-driven boundaries, monolith/microservice tradeoffs, runtime operations, testing, packaging, observability, and continuous architecture - DDD strategic and tactical design: subdomain classification, ubiquitous language, bounded contexts, context maps, aggregates, domain events, event sourcing, CQRS, event storming, and data mesh ## Source Boundary This v2 skill is a registry-driven meta skill. Active source skills are declared in `references/source_registry.yaml`; the curated graph currently uses public-safe summaries from `fastapi-clean-architecture`, `tidy-first`, `spring-modern-api`, `python-architecture-patterns`, `domain-driven-design-first-steps`, and `modern-java-in-action`. It does not include private OCR source text. Treat `source_refs` as links to public graph concepts, not permission to quote original books. `modern-java-in-action` is an adjunct backend code-quality source, not an architecture replacement. Use it only for Spring/backend readability, `Optional`, `Stream`, `CompletableFuture`, side-effect, concurrency, and async-boundary reasoning. It includes verified FastAPI and Spring adapters. Other framework adapters are represented only as extension points; do not invent framework-specific mappings unless the user's codebase supplies evidence. ## Answer Workflow 1. Query the graph first: ```powershell py -3 scripts\query_graph.py --q "service layer repository dependency inversion" --json ``` 2. Load `references/framework_adapters.yaml` when the question mentions FastAPI, Spring, or framework-specific placement. 3. Create a compact source pack when the answer needs traceable context: ```powershell py -3 scripts\expand_context.py --q "FastAPI Depends layer leak" --out output\source-pack.md ``` 4. Answer in Korean by default. Use this fixed answer shape: - the situation and constraint - the relevant boundary or principle - the dependency direction - the framework or language placement - the change-cost tradeoff - the smallest safe next action ## Decision Rules - Inner policy code should not depend on framework or infrastructure APIs. - Concrete infrastructure implements abstractions owned by inner policy layers. - Controllers and routers adapt transport input into application use cases. - DTO/schema objects belong at boundaries unless the project intentionally promotes them into domain language. - Spring `@RestController` and FastAPI `APIRouter` are interface adapters; Spring `@Service` or application services coordinate use cases. - Spring Data/JPA, SQLAlchemy, database sessions, and migrations are infrastructure details behind repository or persistence boundaries. - WebFlux `Mono`/`Flux` and Spring Security filter/security-context details should not become domain model dependencies without an explicit project-level reason. - `Optional` should document absence at lookup or API boundaries; do not use it as a universal field/DTO/persistence convention without project policy. - `Stream` pipelines should make transformations readable; do not hide business side effects or shared mutable state inside intermediate operations. - `CompletableFuture` belongs at explicit async boundaries where executor ownership, timeout, cancellation, and error behavior are designed. - Data modeling and data-layer choices are architecture decisions because data is harder to replace than application code. - Event-driven queues decouple long-running work from request paths, but add state tracking, retry, priority, and failure-handling responsibilities. - DDD starts with business value and language: classify subdomains before choosing rich domain models, event sourcing, CQRS, or microservices. - Bounded contexts are semantic and ownership boundaries; they inform service boundaries but should not be mapped one-to-one to services automatically. - Aggregates are transaction and invariant boundaries; repositories should usually load and save aggregates instead of exposing arbitrary persistence internals. - Observability, testing, packaging, and profiling/debugging evidence should feed architecture evolution instead of being treated as afterthoughts. - Structural refactors and behavior changes should be split when review or rollback cost would otherwise rise. - Decoupling is justified when expected future change-cost reduction exceeds the current structural cost. ## Resources - `references/ontology.yaml`: node and edge type definitions. - `references/source_registry.yaml`: active public-safe source skill registry for v2 synthesis. - `references/framework_adapters.yaml`: FastAPI mapping and future adapter extension policy. - `references/nodes.jsonl`, `edges.jsonl`, `chunks.jsonl`: public-safe architecture graph. - `references/graph_manifest.json`: source registry path, source skills, counts, and safety metadata. - `scripts/build_from_source_skills.py`: registry and curated source-ref coverage validation. - `scripts/query_graph.py`: keyword lookup over nodes, edges, chunks, and adapter mappings. - `scripts/expand_context.py`: compact public-safe context pack writer. - `scripts/validate_graph.py`: graph and adapter validation.
From munlucky/moonshotnote-skills, MIT.
More from munlucky/moonshotnote-skills
- 0.529score
moonshotnote-ocr
munlucky
Extract and verify OCR text from images, screenshots, scanned pages, PDFs, Korean or mixed Korean-English UI captures, receipts, signs, ebook captures…
SkillBFreshness: BClaude Code +9 - 0.525score
text-knowledge-skill-builder
munlucky
Convert long source text, notes, transcripts, exported documents, manuals, or verified text files into public-safe Codex skills backed by structured…
SkillBFreshness: BClaude Code +9 - 0.479score
codebase-understanding
munlucky
Build and use a lightweight, queryable codebase knowledge graph for unfamiliar repositories.
SkillCFreshness: CClaude Code +9 - 0.479score
fastapi-clean-architecture
munlucky
FastAPI and clean architecture study assistant backed by a public-safe ontology and knowledge graph extracted from verified OCR notes.
SkillCFreshness: CClaude Code +9 - 0.479score
moonshot-research
munlucky
Maximum-saturation public-web research workflow for Codex.
SkillCFreshness: CClaude Code +9 - 0.479score
python-architecture-patterns
munlucky
Use when Codex needs to explain or connect Python-oriented software architecture patterns from a public-safe knowledge graph covering API design, data…
SkillCFreshness: CClaude Code +9 - 0.479score
spring-modern-api
munlucky
Spring 6 and Spring Boot 3 modern API development study assistant backed by a public-safe ontology and knowledge graph extracted from private OCR-derived notes.
SkillCFreshness: CClaude Code +9 - 0.479score
tidy-first
munlucky
Tidy First study and engineering-decision assistant backed by a public-safe ontology and knowledge graph extracted from private OCR-derived notes.
SkillCFreshness: CClaude Code +9 - 0.479score
modern-java-in-action
munlucky
Modern Java study assistant backed by a public-safe graph extracted from private OCR-derived notes.
SkillCFreshness: CClaude Code +9 - 0.476score
domain-driven-design-first-steps
munlucky
Use this public-safe Korean study skill for Domain-Driven Design first-step questions about subdomains, ubiquitous language, bounded contexts, context maps…
SkillCFreshness: CClaude Code +9 - 0.474score
teddynote-langchain-rag
munlucky
Use this skill for public-safe reasoning about RAG and LangChain pipelines, document loading, splitting, embedding, vector stores, retrievers, prompts…
SkillCFreshness: CClaude Code +9 - 0.470score
daily-webnovel-writing-knowledge
munlucky
Use this skill for Korean webnovel writing planning, serialization strategy, genre-market fit, character design, episode structure, readability, cliffhangers…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 5, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/munlucky/moonshotnote-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from munlucky
- 0.556score
moon-relay-kernel
munlucky
Default provider-neutral command-skill entrypoint for Moon Relay Kernel task routing and adaptive workflow execution.
SkillAFreshness: AClaude Code +9 - 0.529score
moonshotnote-ocr
munlucky
Extract and verify OCR text from images, screenshots, scanned pages, PDFs, Korean or mixed Korean-English UI captures, receipts, signs, ebook captures…
SkillBFreshness: BClaude Code +9 - 0.525score
text-knowledge-skill-builder
munlucky
Convert long source text, notes, transcripts, exported documents, manuals, or verified text files into public-safe Codex skills backed by structured…
SkillBFreshness: BClaude Code +9 - 0.521score
codebase-master-guide
munlucky
코드베이스 전수 분석 및 인터랙티브 개발자 가이드(슬라이드북) 제작 스킬.
SkillBFreshness: BClaude Code +9 - 0.513score
architecture-artifacts
munlucky
Produce architecture artifacts and a provenance-bound Task Contract Seed before Kernel execution.
SkillBFreshness: BClaude Code +9 - 0.513score
codebase-understanding
munlucky
Build and query the regenerable account-root Code Index for the current Kernel project.
SkillBFreshness: BClaude Code +9
Cite this page
backend-architecture skill. Agent Mart. https://agentmart.dev/skills/munlucky-backend-architecture (last updated 2026-10-24)