Skip to content
Skillv1.0.0

application

Application Layer Guidelines

by atcastells(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from atcastells/echo (apps/backend/src/application/AGENTS.md). Install upstream with npx skills add atcastells/echo --skill application. Copyright stays with the author.

Application Layer Guidelines

Use Case Rules

  • One Use Case per File: Each use case class MUST be in its own dedicated file. Do not combine multiple use cases in a single file.

Naming Conventions

  • Folder Structure: Group use cases by entity (e.g., documents/, users/).
  • File Naming: Use kebab-case and end files with .use-case.ts (e.g., upload-document.use-case.ts).
  • Class Naming: PascalCase ending with UseCase (e.g., UploadDocumentUseCase).

Implementation

  • Dependency Injection: Use typedi for dependency injection. Decorate use case classes with @Service().

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/atcastells-echo-application/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

atcastells-echo-application.ocm.jsonjson
{
  "ocm": "1",
  "id": "atcastells-echo-application",
  "kind": "skill",
  "name": "application",
  "description": "Application Layer Guidelines",
  "publisher": "atcastells",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Application Layer Guidelines"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/atcastells/echo",
      "path": "apps/backend/src/application/AGENTS.md",
      "ref": "918afa08ef0c2c6c91db8b76978155a9fd6807cf",
      "url": "https://github.com/atcastells/echo/blob/918afa08ef0c2c6c91db8b76978155a9fd6807cf/apps/backend/src/application/AGENTS.md",
      "key": "atcastells/echo/apps/backend/src/application/AGENTS.md"
    }
  },
  "instructions": "# Application Layer Guidelines\n\n## Use Case Rules\n\n- **One Use Case per File**: Each use case class MUST be in its own dedicated file. Do not combine multiple use cases in a single file.\n\n## Naming Conventions\n\n- **Folder Structure**: Group use cases by entity (e.g., `documents/`, `users/`).\n- **File Naming**: Use kebab-case and end files with `.use-case.ts` (e.g., `upload-document.use-case.ts`).\n- **Class Naming**: PascalCase ending with `UseCase` (e.g., `UploadDocumentUseCase`).\n\n## Implementation\n\n- **Dependency Injection**: Use `typedi` for dependency injection. Decorate use case classes w",
  "cost": {
    "context_tokens": 154
  }
}

Fetch it by URL: GET /api/v1/registry/atcastells-echo-application/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.