Skip to content
Skillv1.0.0

Service.Contracts

Own GetMealsQuery and its MealModel, MealItemModel, MealAiSessionModel and MealAiItemModel projections consumed by Dashboard. Meals.Contracts remains the existing daily-calorie/ID seam. Keep handlers,

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

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

See reviews

About

Imported from alexindima/food-diary (Modules/Meals/Service.Contracts/AGENTS.md). Install upstream with npx skills add alexindima/food-diary --skill Service.Contracts. Copyright stays with the author.

Meals consumer contracts

Own GetMealsQuery and its MealModel, MealItemModel, MealAiSessionModel and MealAiItemModel projections consumed by Dashboard. Meals.Contracts remains the existing daily-calorie/ID seam. Keep handlers, aggregate policy and MealOverviewModel in Application.

Preserve existing CLR namespaces and wire fields during coordinated rebuilds. Do not add persistence, provider clients, DI registration or handlers to this package. Reference the owning contract directly from every consumer.

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/alexindima-food-diary-service-contracts/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.

alexindima-food-diary-service-contracts.ocm.jsonjson
{
  "ocm": "1",
  "id": "alexindima-food-diary-service-contracts",
  "kind": "skill",
  "name": "Service.Contracts",
  "description": "Own GetMealsQuery and its MealModel, MealItemModel, MealAiSessionModel and MealAiItemModel projections consumed by Dashboard. Meals.Contracts remains the existing daily-calorie/ID seam. Keep handlers, aggregate policy and MealOverviewModel in Application.",
  "publisher": "alexindima",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "data_analysis"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Own GetMealsQuery and its MealModel, MealItemModel, MealAiSessionModel and MealAiItemModel projections consumed by Dashboard. Meals.Contracts remains the existing daily-calorie/ID seam. Keep handlers, aggregate policy and MealOverviewModel in Application."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/alexindima/food-diary",
      "path": "Modules/Meals/Service.Contracts/AGENTS.md",
      "ref": "cac2cc87722cb077c6f534446b5c3fc1a2fad959",
      "url": "https://github.com/alexindima/food-diary/blob/cac2cc87722cb077c6f534446b5c3fc1a2fad959/Modules/Meals/Service.Contracts/AGENTS.md",
      "key": "alexindima/food-diary/Modules/Meals/Service.Contracts/AGENTS.md"
    }
  },
  "instructions": "# Meals consumer contracts\n\nOwn GetMealsQuery and its MealModel, MealItemModel, MealAiSessionModel and MealAiItemModel projections consumed by Dashboard. Meals.Contracts remains the existing daily-calorie/ID seam. Keep handlers, aggregate policy and MealOverviewModel in Application.\n\nPreserve existing CLR namespaces and wire fields during coordinated rebuilds. Do not add persistence, provider clients, DI registration or handlers to this package. Reference the owning contract directly from every consumer.",
  "cost": {
    "context_tokens": 127
  }
}

Fetch it by URL: GET /api/v1/registry/alexindima-food-diary-service-contracts/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.