⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

documentation

albadit@albadit⭐ 0 stars· last commit 7d ago· 0 open issues

>-

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐ 0 on GitHubGitHub ↗

New / niche

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

DotNetForge CMS

A modular, secure, lightweight hybrid CMS built on ASP.NET Core MVC (C#, EF Core, Razor), targeting .NET 10, on PostgreSQL (SQLite, SQL Server, MySQL and MongoDB can be added as extra databases for your own data). It runs as a Traditional CMS (visual admin), a Headless CMS (token-secured API), or both at once (Hybrid) over the same content.

Content is structured and kept apart from presentation: define content types (blog posts, products, events...) with a visual field builder, manage their entries in the Content Manager, and show them on any page with a content list in the page builder - cards, a list, a carousel, a table or a detail page - mapping each element to a field. Editing an entry updates every page that shows it. Details: structured content.

Product goals and scope: .docs/product.md. The technical documentation - architecture, every screen, every feature, verified against the code - starts at .docs/README.md; what is built versus planned is in .docs/implementation-status.md.

Requirements

  • .NET SDK 10.0 (pinned via global.json).
  • Node.js 20 or newer, with npm: the build compiles the UI stylesheet with Tailwind CSS from npm (installed automatically on the first build; nothing from npm ships with the app).
  • PostgreSQL - e.g. docker compose -f docker/databases/postgres.yml up -d (Docker), or any PostgreSQL server.

Quick start

# 1. Configure the environment (secrets live in .env, never committed)
cp .env.example .env          # Windows PowerShell: Copy-Item .env.example .env

# 2. Start PostgreSQL and set DATABASE_CONNECTION_STRING in .env to
#    Host=localhost;Port=5432;Database=dotnetforge;Username=postgres;Password=postgres;GSS Encryption Mode=Disable
#    (or copy .env.developer instead of .env.example: it has it filled in)
docker compose -f docker/databases/postgres.yml up -d

# 3. Build everything (incl. extensions) and run the web app, from the repository root
dotnet build
dotnet run --project src/DotNetForge.Web

Then open http://localhost:5000. On first run the app redirects to /setup, where you create the first administrator (assigned the Super Admin role). After setup you land on the admin dashboard at /admin; the setup wizard is then permanently blocked.

Optional: cp .env.developer .env and docker compose -f docker/compose.dev.yml up -d run the app against PostgreSQL, RustFS (S3) and Mailpit (SMTP); docker compose -f docker/compose.app.yml up -d --build runs the app itself in Docker (development guide).

Production

The app runs from a read-only deployment directory: data goes to PostgreSQL, uploaded media to S3-compatible object storage (Cloudflare R2 recommended), and the Data Protection key ring to the database.

docker build -f docker/Dockerfile -t dotnetforge .
docker run --read-only --tmpfs /tmp -p 8080:8080 -e "DATABASE_CONNECTION_STRING=Host=...;Database=..." \
  -e STORAGE_S3_SERVICE_URL=... -e STORAGE_S3_BUCKET=... \
  -e STORAGE_S3_ACCESS_KEY_ID=... -e STORAGE_S3_SECRET_ACCESS_KEY=... dotnetforge

Everything else - environment variables, reverse proxy, backups, verification: deployment guide.

Everyday commands

Run from the repository root. DotNetForge.slnx is the solution, so dotnet build and dotnet test cover every project; the web app is src/DotNetForge.Web.

CommandWhat it does
dotnet run --project src/DotNetForge.WebBuilds and runs only the web app (http://localhost:5000; extensions as last built).
dotnet watch --project src/DotNetForge.WebSame, with hot reload.
dotnet buildBuilds the whole solution, including the sample extensions.
dotnet testRuns the unit and integration tests (the integration tests need PostgreSQL, testing).

In VS Code, F5 starts the debugger and every command of this README is a task (Terminal → Run Task: setup, Docker services, build/run/watch, the local production build, tests, checks, migrations - development guide).

Test the production build locally

dotnet run serves every file as written, for debugging. To see what a server sends - minified HTML, CSS and JavaScript, precompressed with Brotli and gzip - publish a Release build and run it (Windows cmd, from the repository root):

dotnet build
dotnet publish src/DotNetForge.Web -c Release -o out
dotnet out/DotNetForge.Web.dll
  • dotnet build first compiles the extensions; the publish copies them into out/extensions as they are.
  • The published app uses its own folder for wwwroot and extensions, wherever it is started from (cd out and dotnet DotNetForge.Web.dll works too). out/ is git-ignored.
  • .env: a .env in out/ wins; without one, the app inside the checkout uses the repository's .env. Copy it into the folder only when you move the build elsewhere (as on a server).
  • It runs in Production on http://localhost:5000 (stop dotnet run first, or add --urls http://localhost:5001): PostgreSQL and S3 storage must be set in .env (.env.developer uses the local RustFS of docker/compose.dev.yml). For local file storage instead, run set ASPNETCORE_ENVIRONMENT=Development before the last line.
  • Without a publish, dotnet DotNetForge.Web.dll stops with "The application to execute does not exist".
  • What exactly gets minified and compressed: development and production builds.

Configuration (.env)

Copy .env.example to .env and set the values. Secrets are never committed (see .gitignore).

KeyRequiredDescription
DATABASE_CONNECTION_STRINGYesThe PostgreSQL connection string - the CMS database is always PostgreSQL; startup stops without it.
DATABASES_<NAME>_PROVIDER, DATABASES_<NAME>_CONNECTION_STRINGNoAdditional databases (SQLite, PostgreSQL, SQL Server, MySQL, MongoDB) for extensions, custom API endpoints and exports.
APP_NAMENoDisplay name. Defaults to DotNetForge CMS.
APP_URLNoPublic base URL, e.g. http://localhost:5000. Must be absolute; used for the links in emails.
STORAGE_S3_*Outside DevelopmentS3-compatible storage for uploads (bucket, keys, endpoint). Any provider works: the endpoint decides (R2, AWS S3, MinIO, Supabase). Empty in Development = storage/media.

Outside Development nothing defaults: the PostgreSQL connection string and S3 storage are required.

Full reference: .docs/features/configuration.md.

Another PostgreSQL server

DATABASE_CONNECTION_STRING=Host=db.example.com;Port=5432;Database=dotnetforge;Username=cms;Password=<secret>;GSS Encryption Mode=Disable

The app applies its committed EF Core migrations on startup; see .docs/architecture/database.md. Additional databases: .docs/database/configuration.md.

Project layout

DotNetForge.slnx         # Solution: every project below
src/
  DotNetForge.Web/       # ASP.NET Core MVC web app: admin area, public site, setup, composition root
  DotNetForge.*/         # Libraries: Abstractions, Shared, Core, Data, Content, Infrastructure, PageBuilder, Extensions, Sdk, Api
tests/                   # Do

// HOW IT'S BUILT

// FILES

5 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • .claude/skills/documentation/SKILL.md8.6 KB740f8931ddecupstream ↗
    ---
    name: documentation
    description: >-
      Writes and maintains DotNetForge CMS documentation in .docs/ (architecture, data flow, screen docs in pages/,
      feature docs in features/, guides, glossary, implementation status), the root README/ARCHITECTURE/CLAUDE.md and
      .github/agents quick references, code comments and Mermaid diagrams - all verified against the code. Use when asked
      to document, write or update docs or a README, reorganize .docs, explain the architecture or data flow, draw
      diagrams, prepare a handover, or when a code change affects documented behaviour, screens, routes, permissions,
      configuration, the API, the database, setup or deployment.
    ---
    
    # Documentation
    
    Documentation is part of the implementation, not a final chore. It has two readers, kept in separate documents:
    **users**, who must install, use and troubleshoot the application from the user guide without asking anyone; and
    **developers** new to the project, who must run, understand, debug, extend and deploy it without the original
    developer.
    
    ## This project's documentation
    
    Entry point: `.docs/README.md`. The layout is fixed - put new material where it belongs instead of inventing files:
    
    | Folder / file | Holds | One document per |
    | --- | --- | --- |
    | `.docs/architecture/` | `codebase.md`, `data-flow.md`, `pages.md` (route map), `design-system.md` (how the CMS uses the UI library: brand, layouts, feedback), `database.md`, `dependencies.md` | architectural view |
    | `.docs/ui/` | the DotNetForge UI component library (`src/DotNetForge.UI`): `README.md` (API, states, catalogue), `styling.md`, `theming.md`, `behaviours.md`, `extensions.md`, `migration.md`, `components/<name>.md` | component (one page per component) |
    | `.docs/features/` | cross-screen concepts (installation, authentication, authorization, content pages and routing, headless API, extensions, audit logging, ...) - the **authoritative** place for rules | concept |
    | `.docs/pages/` | one file per screen (UI view), in the fixed section template of [screen-template.md](reference/screen-template.md) | screen |
    | `.docs/guides/` | how-tos: development, testing, extension development | task |
    | `.docs/glossary.md` | fixed terminology - "screen" = UI view, "content page"/`Page` = entity, "live" vs `Published`, "extension" vs `plugin` | - |
    | `.docs/implementation-status.md` | built vs. planned per module (links to each Planned section) + registered-but-unused code | - |
    | `.docs/product.md` | product goals, the three modes, target users, MVP scope | - |
    | `/README.md`, `/CLAUDE.md`, `/.github/agents/*.md`, `.docs/architecture/overview.md` | short overviews that link into `.docs/` - keep them short, don't duplicate | - |
    
    Planned work has no separate folder: every document that owns a topic ends with a `## Planned (not implemented)`
    section (Requirements, User flows, Rules and validation, Edge cases, Acceptance criteria with `- [x]` only for
    criteria verified in code). Never describe planned behaviour outside that section, and never leave built behaviour
    inside it. Code comments cite the owning doc by path (e.g. `(.docs/features/headless-api.md)`).
    
    When code changes, update in the same change:
    
    | Code change | Documents to update |
    | --- | --- |
    | New/changed admin screen or route | `pages/<screen>.md`, route map in `architecture/pages.md`, `.docs/README.md` screen table, sidebar section of `architecture/pages.md` |
    | Rule in `PageService` / `PageVisibility.Live` / `RenderPage` | `features/content-pages-and-routing.md` (and the screen docs only if what the user sees changes) |
    | Extension host, a slot, the SDK (`src/DotNetForge.Sdk`), manifest rules, a sample extension | `features/extensions.md` (the slot's owning feature doc too: themes, media storage, authentication, audit logging), `guides/extension-development.md`, `extensions/README.md` for samples |
    | New API endpoint or permission key | `features/headless-api.md` endpoint table, `features/authorization.md` key list |
    | `[Authorize]` / policy change | `features/authorization.md` matrix, `architecture/pages.md` route map auth column |
    | Component, token, utility setup, icon, `<dnf-*>` tag helper, `dnf.js` behaviour (`src/DotNetForge.UI`) | its page in the in-app UI docs (`src/DotNetForge.Web/Areas/Admin/Views/UiDocs/Components/<Name>.cshtml`, listed in `UiDocsCatalog`; the API table comes from the tag helper's XML doc comments) and `ui/README.md` (catalogue, tag helper and state tables); `ui/styling.md` (layers, Tailwind build), `ui/theming.md` (tokens), `ui/behaviours.md` (`dnf.js`), `ui/extensions.md` (anything extensions rely on) |
    | CMS layout, screen CSS (`src/DotNetForge.Web/wwwroot/css/`), feedback partials | `architecture/design-system.md` (screen docs only if what the user sees changes) |
    | Sidebar entry (`AdminNavigation.Tree`) or navigation behaviour | navigation section of `architecture/pages.md`, the screen's Route / Navigation table |
    | Entity, index, migration, seed | `architecture/database.md` |
    | DI registration, project reference, package | `architecture/dependencies.md` |
    | `.env` key | `features/configuration.md`, `.env.example`, `guides/deployment.md#environment-variables` |
    | Storage provider, upload rules, `IFileStorage` | `features/media-storage.md`, `pages/media.md` |
    | Anything that writes files, Dockerfile, proxy/TLS, runtime requirements | `guides/deployment.md` |
    | New audit action written | `features/audit-logging.md` |
    | Something from a **Planned (not implemented)** section built | move it into the document body (verified), tick/remove its acceptance criteria, update `implementation-status.md` (+ "Registered but unused") |
    
    ## Workflow
    
    1. **Inspect the project** - structure, entry points, configuration, data stores, APIs, build, tests, deployment.
       Read the code the documentation will describe.
    2. **Read the existing documentation** - README, docs/, changelog, comments - and list where it disagrees with the
       code. When they disagree, find out which is outdated; don't "fix" a doc to match a bug.
    3. **Plan the structure** - what this project needs, where each topic lives, and what moves, merges or goes. See
       [doc-types.md](reference/doc-types.md) for the layout and what each document holds. Follow the project's
       existing layout and terminology where it works.
    4. **Write or update** - one authoritative place per topic, linked from elsewhere; concrete commands, names and
       examples; tables for settings and endpoints.
    5. **Add diagrams where a picture explains better** - [mermaid.md](reference/mermaid.md). Render-check them.
    6. **Verify every fact against the code**: folder names, classes, routes, tables, configuration keys and defaults,
       commands, versions, behaviour. Never invent missing information - mark it unknown or ask.
    7. **Remove what is outdated** - docs, sections, diagrams and links for things that no longer exist; fix every link
       to anything that moved.
    8. **Final review** (below), then report what changed and what is still unknown.
    
    ## Rules
    
    - **No filler** - no empty files, marketing language, vague statements, long introductions or duplicated text.
      Create only documents the project actually needs.
    - **Never delete documentation the project has** to fit a layout - move its content, or keep it. Removing a document
      that is still true (a user guide, a runbook) needs the owner's say-so.
    - **Single source of truth** - explain each thing once, link to it elsewhere.
    - **One term per concept** across code, UI, API, database and docs.
    - **README stays short** - what it is, why, quick start, structure in a sentence or diagram, links to the docs.
    - **Explain why**, not only what, for important decisions (ADRs for decisions that are costly to reverse).
    - **Never put real secrets in documentation** - placeholders only.
    - **A wrong doc or diagram is worse than none** - update or delete it in the same change as the code.
    - **Code comments** explain non-obvious decisions, workarounds, limitations and assumptions - never what the code
      plainly says. Match the surrounding comment style.
    - **Keep the repository's file conventions** (encoding, line endings).
    
    ## Style
    
    Clear headings, short paragraphs, concrete explanations, examples, tables and diagrams - written for developers new
    to the project. Commands copy-pasteable. Paths and names exactly as in the code.
    
    ## Final review
    
    - Can a user install, use and troubleshoot the application from the user guide alone?
    - Can a new developer set up, run, test, build and deploy from the docs alone?
    - Can they find where code for a feature lives, and where to add new code?
    - Can someone debugging find the logs, settings and known problems?
    - Does every name, command and diagram match the code today? Do all links work?
    
  • .claude/skills/documentation/reference/doc-types.md7.1 KBb0afe20d8d55upstream ↗
    # Documentation
    
    Documentation is part of the implementation. Update it whenever architecture, functionality, configuration, data
    structure, APIs, setup, deployment or important behaviour changes - in the same piece of work.
    
    ## Structure
    
    > **DotNetForge:** the actual layout is `.docs/` as described in the skill's *This project's documentation* section
    > (architecture/, features/, pages/, guides/; planned work in each doc's *Planned (not implemented)* section). Use the sections below for *what each kind of document
    > should contain*, not for file names.
    
    A typical layout - create only what the project needs, never empty or filler files. Documentation has two
    audiences: the people who **use** the application and the developers who **build** it; keep their documents apart.
    
    ```text
    README.md              what it is, quick start, links (for both audiences)
    CHANGELOG.md           user-visible changes per release
    docs/
      user-guide.md        for users: installing, every screen, menu and action, workflows, limitations
      configuration.md     every setting (users and administrators)
      troubleshooting.md   symptom → cause → fix entries (users and developers)
      architecture.md      components, boundaries, data flow, decisions (with diagrams)
      development.md       prerequisites, setup, build, run, debug, conventions
      database.md          tables, ownership, relationships, migrations
      api.md               endpoints beyond what generated docs say
      testing.md           test types, commands, external dependencies
      deployment.md        build, release, deploy, rollback, verification (releasing.md for a shipped app)
      security.md          sensitive areas and how they are protected
      decisions/           ADRs (NNNN-title.md)
    ```
    
    Small projects can merge these (e.g. development + testing + deployment in one file). Follow the project's
    existing layout if it has one. **Never delete a document because this list doesn't name it** - move its content or
    keep it; a user guide, an operations runbook or an integration guide is as valid as the files above.
    
    ## User guide
    
    For the people who use the application - an app with a UI or a tool people run needs one; a library or a pure API
    may not (its README and API docs serve the users). Written in the users' words, from what they see:
    - installing, upgrading and uninstalling; first start
    - every screen, page, menu and action: what it does, what it changes, what it asks first
    - the main workflows end to end (e.g. create, import, back up, remove)
    - what happens to their data (where it is kept, what an action deletes, what is kept)
    - limitations and known behaviour that surprises people
    Link to configuration and troubleshooting rather than repeating them; keep implementation details for the developer
    docs. Use the UI's exact labels, in **bold**.
    
    ## README
    
    Concise: what the application is and the problem it solves, main technologies, a sentence or diagram of the
    architecture, prerequisites, setup, run, build, test, the important folders, and links to the detailed docs. Not the
    whole manual.
    
    ## Architecture
    
    Major components and their responsibilities, dependencies and boundaries, integrations, data flow, authentication and
    authorization flow, configuration, background processes, caching - and **why** the important decisions were made.
    
    **Folder structure**: for important folders, what belongs there, what doesn't, and when to add code there. Don't list
    every obvious file.
    
    **Data flows**: important end-to-end flows (e.g. `User → UI → API → Service → Database → Response → UI`), marking
    where validation, authorization, business rules, transformations and error handling happen.
    
    ## Database
    
    Important tables, relationships, ownership, constraints, indexes, migrations, delete and synchronization behaviour.
    Clearly separate **application-owned** data from **external-system** data and mark read-only data.
    
    ## API
    
    For important endpoints: route, method, purpose, permissions, parameters, request and response format, important
    errors. Don't duplicate generated API docs unless adding context.
    
    ## Configuration
    
    For every important setting: name, purpose, default, required or optional, where it is set, whether a restart is
    needed, whether it is sensitive. Never real secrets - use placeholders.
    
    ## Development
    
    Enough to start from the docs alone: prerequisites and versions, database requirements, environment variables, setup,
    build, run and test commands, how to debug (including elevated or containerized processes), where logs are, and
    project conventions (encoding, line endings, threading rules, SQL and process rules, secret handling).
    
    ## Testing
    
    Test types and locations, commands, which tests need external systems, which are safe to run locally, required test
    data, and how environment-dependent tests behave when the environment is missing.
    
    ## Deployment / releasing
    
    Build process and artifacts, configuration, migrations, deployment order, rollback, health checks, permissions,
    post-deployment verification, versioning and changelog steps. Deployment must not depend on one person's memory.
    
    ## Troubleshooting entries
    
    ```markdown
    ### <Symptom as the user sees it>
    - **Likely cause:** …
    - **Investigate:** where to look (log file, setting, command) and what to look for
    - **Fix:** concrete steps
    - **Verify:** how to confirm it is fixed
    ```
    
    ## Security
    
    Authentication, authorization, roles and permissions, secrets handling, database access, external systems, admin
    functionality, what runs with elevated rights and why.
    
    ## External systems
    
    For each integration: purpose, owner, read-only or read/write, authentication, configuration, failure behaviour, and
    the component responsible for it.
    
    ## Architecture Decision Records
    
    For decisions that are important, non-obvious or costly to reverse - not for implementation details.
    
    ```markdown
    # NNNN. <Decision title>
    - **Status:** accepted | superseded by NNNN
    - **Context:** the situation and forces
    - **Problem:** what had to be decided
    - **Options considered:** each with its main pros/cons
    - **Decision:** what was chosen
    - **Reasoning:** why this option
    - **Consequences:** what becomes easier, harder, or must now be done
    ```
    
    ## Style
    
    Write for competent developers new to the project. Clear headings, short paragraphs, concrete explanations,
    examples, tables and diagrams. No marketing language, filler, vague statements, duplicated text or long
    introductions. **Terminology**: one name per concept across code, UI, API, database and docs.
    
    ## Accuracy
    
    - Verify every name against the implementation: folders, classes, routes, tables, configuration keys, commands,
      dependencies, behaviour.
    - When code and docs disagree, find out which is outdated - don't just "fix" the doc to match a bug.
    - Never invent missing information; mark it as unknown or ask.
    - **Single source of truth**: explain each thing in one authoritative place and link to it elsewhere.
    - Remove documentation for things that no longer exist.
    
    ## Code comments
    
    Comment non-obvious decisions, workarounds, external limitations, important assumptions and unusual behaviour. Don't
    comment what the code plainly says; prefer making the code readable. Match the density and style of the
    surrounding code.
    
  • .claude/skills/documentation/reference/mermaid.md2.9 KB60ee399ffc86upstream ↗
    # Mermaid diagrams
    
    Use Mermaid where a picture genuinely improves understanding. It lives with the code: versioned, reviewable in
    diffs, editable as text, and rendered by GitHub, GitLab, Azure DevOps and most doc tools.
    
    ## When to draw
    
    | Purpose | Diagram type |
    |---|---|
    | System architecture, components, module dependencies, deployment, integrations | `flowchart` (LR or TD), with `subgraph` for boundaries |
    | A request, authentication or authorization flow over time | `sequenceDiagram` |
    | Lifecycles and state transitions (jobs, orders, operations) | `stateDiagram-v2` |
    | Database tables and relationships | `erDiagram` |
    | Class or type relationships (only when the structure matters) | `classDiagram` |
    | Release timelines or plans | `gantt` / `timeline` (rarely needed) |
    
    Don't draw what a sentence explains as well. Don't use a diagram instead of the written explanation - use both.
    
    ## Rules
    
    - **One purpose per diagram.** Split a big system into focused diagrams (context, then one per subsystem or flow)
      instead of one enormous graph. Aim for roughly 5-15 nodes.
    - **Real names only**: use the project's actual component, class, table and route names and its terminology. Never
      invent nodes.
    - **Surround it with text**: a sentence before saying what it shows and why it matters, and after it the important
      boundaries, rules or exceptions.
    - **Keep it in sync**: when architecture or data flow changes, update or delete the diagram in the same change. A
      wrong diagram is worse than none.
    - **Show boundaries** that matter: process/network boundaries, trust boundaries (where authorization happens),
      application-owned vs external systems, read-only vs read/write (label the edges).
    - Keep labels short; put detail in the text. Quote labels with special characters: `A["web.config (SiteSqlServer)"]`.
    - Check it renders (GitHub preview, mermaid.live) before finishing.
    
    ## Templates
    
    Component overview with a boundary and an external system:
    
    ```mermaid
    flowchart LR
        User([User]) --> UI
        subgraph App["Application"]
            UI --> API
            API --> Service
            Service --> DB[(Database)]
        end
        Service -- read-only --> Ext[(External system)]
    ```
    
    Request flow showing where validation and authorization happen:
    
    ```mermaid
    sequenceDiagram
        participant User
        participant UI
        participant API
        participant Service
        participant DB
        User->>UI: Action
        UI->>API: Request
        API->>API: Authenticate + authorize
        API->>Service: Execute (validated input)
        Service->>DB: Query
        DB-->>Service: Rows
        Service-->>API: Result
        API-->>UI: Response / error
    ```
    
    Data model:
    
    ```mermaid
    erDiagram
        USER ||--o{ PROJECT : owns
        PROJECT ||--o{ TASK : contains
    ```
    
    Lifecycle:
    
    ```mermaid
    stateDiagram-v2
        [*] --> Idle
        Idle --> Running : start
        Running --> Completed : success
        Running --> Failed : error
        Running --> Cancelled : cancel (undo what was done)
        Failed --> Running : retry
    ```
    
  • .claude/skills/documentation/reference/screen-template.md3.2 KBef7a4670e0e8upstream ↗
    # Screen document template (`.docs/pages/<screen>.md`)
    
    Every screen document uses these sections, in this order. Keep sections that don't apply but say so in one line
    ("Not applicable.", "None.") - readers and agents rely on the fixed shape. Small sections may be merged into one
    heading (e.g. `## Validation / error handling / loading`) when each is a single line. Use
    [`.docs/pages/content-manager.md`](../../../../.docs/pages/content-manager.md) as the model for a complex screen and
    [`.docs/pages/users.md`](../../../../.docs/pages/users.md) for a simple one.
    
    ~~~markdown
    # <Screen name as shown in ViewData["Title"]>
    
    ## Purpose
    Why it exists, who uses it (which roles), what they accomplish. Link the feature doc that owns the rules.
    
    ## Route / Navigation
    Table: route(s) with HTTP methods, query/route parameters, sidebar entry (group → label), parent, child screens,
    deep links, where it is linked from.
    
    ## Relevant source files
    ```text
    path/File.cs     what it contributes
    ```
    
    ## Page layout
    ASCII tree from top to bottom, using the real labels in **bold** where the UI shows them.
    
    ## Components
    Per component: purpose, inputs (model/ViewData/ViewBag), outputs (form target), events, state, when it appears.
    
    ## Functionality
    One `###` per action: trigger → validation → service/method → data → backend effect (+ audit action) → result/UI
    update → errors. Sequence diagram for the most important one.
    
    ## Data used by the page
    Entities, view models, configuration, claims - and where each comes from.
    
    ## State
    URL, TempData, ModelState, DOM/JS, cookie, database - and when each changes.
    
    ## Permissions
    Exact attributes (`AdminArea`, `[Authorize(Roles = ...)]`), what happens without permission. Say explicitly when
    there is no finer-grained check.
    
    ## Validation
    Browser vs. server rules, messages, duplicate prevention, invalid states the UI still allows.
    
    ## Error handling
    Table: failure → detection → what the user sees → recovery.
    
    ## Loading behaviour
    What is server-rendered, what is async, indicators (usually none).
    
    ## Empty states
    Exact empty-state text.
    
    ## User interactions
    Clicks, drag and drop, confirms, keyboard. Say "None" when there are none.
    
    ## Dependencies
    ```text
    Controller
    ├── Service → its dependencies
    └── ...
    ```
    
    ## Page flow
    Mermaid flowchart specific to this screen (real routes and names).
    
    ## Related pages
    Navigates to / receives navigation from / shares functionality with (links).
    
    ## Important implementation details
    Non-obvious behaviour: derived values, hidden conditions, caching, ordering.
    
    ## Known limitations
    Only real ones, verified in code.
    
    ## Planned (not implemented)
    Optional. Target behaviour not built yet: Requirements, User flows, Rules and validation, Edge cases, Acceptance
    criteria (`- [x]` only when verified in code). Rules owned by a feature doc stay in that feature doc's Planned section.
    
    ## Extension points
    Where a developer adds the next feature - which class/method/file, which rule to respect.
    ~~~
    
    Rules:
    - Names, routes, labels and messages exactly as in the code (copy them).
    - Rules owned by a feature doc are linked, not repeated.
    - After writing: add/update the row in `.docs/README.md` (Screens table) and `.docs/architecture/pages.md` (route map).
    
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/albadit-dotnetforge-claude-skills-documentation.md

// REPO STATS

0 stars
0 open issues
Last commit: 7d ago