Skip to content
Back to skills

Coreex Functions

ASecurity

Add or modify HTTP, Service Bus, Blob or Timer capabilities and their tests in a CoreEx Azure Functions isolated-worker host. USE FOR: native triggers, Functions WebApi/idempotency, explicit Service Bus settlement, capability-local standalone processing, UnitTestEx invocation tests. DO NOT USE FOR: ASP.NET API controllers (coreex-api), CoreEx-owned Subscribe listeners (coreex-subscriber), creating the host project (coreex-scaffold).

  • 29 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 9, 2026
databasesazuretestinggitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add Avanade/CoreEx --skill coreex-functions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coreex Functions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coreex Functions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/avanade-coreex-functions/badge)](https://www.skillsdirectory.com/skills/avanade-coreex-functions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: coreex-functions
description: "Add or modify HTTP, Service Bus, Blob or Timer capabilities and their tests in a CoreEx Azure Functions isolated-worker host. USE FOR: native triggers, Functions WebApi/idempotency, explicit Service Bus settlement, capability-local standalone processing, UnitTestEx invocation tests. DO NOT USE FOR: ASP.NET API controllers (coreex-api), CoreEx-owned Subscribe listeners (coreex-subscriber), creating the host project (coreex-scaffold)."
argument-hint: "Functions host, capability/trigger, desired processing and delivery behavior"
tags: ["functions", "azure", "integration", "testing", "coreex"]
---

<!--
  AI workflow asset — dual-audience notice:
  - In the Avanade/CoreEx repository: this file is the authored source. Edit it here.
  - In a consumer repository: this file was generated by `dotnet new coreex-ai` (or refreshed via
    `dotnet new coreex-ai --force` / the `/coreex-docs-sync` skill). Do not hand-edit it directly —
    propose the change upstream in Avanade/CoreEx instead, then refresh once it is released.
-->

# CoreEx Functions

Adds a real capability and its tests to an existing Azure Functions isolated-worker host, using native bindings and CoreEx primitives without imposing unnecessary application layers.

## When to Use

- Add or change HTTP, Service Bus, Blob or Timer functions.
- Wire Functions-specific `WebApi`, idempotency, subscriber settlement or scoped execution context.
- Add capability-local processing in a standalone integration app.
- Add UnitTestEx invocation tests or identify runtime binding/delivery verification needs.
- Add the native Blob boundary for a schema-defined CSV import generated by File CodeGen.

## When Not to Use

- Create an empty Functions host/test pair: use `coreex-scaffold` with `coreex-functions` / `--shared-core false`.
- ASP.NET controllers/endpoints or CoreEx-owned receiver hosts: use `coreex-api` / `coreex-subscriber`.
- Shared service/contract/repository logic: reuse the existing matching L1 skills; this skill owns the trigger boundary, not a second application architecture.
- CSV schema, generated wire types/mappings/validators/processors, or file-specific handlers: use `coreex-file`; pair it with this skill only for the Functions boundary.
- Generic Azure infrastructure provisioning or deployment: use the project's established tooling.

## Quick Reference

| Capability | Composition |
|---|---|
| HTTP | `ConfigureFunctionsWebApplication()` before CoreEx middleware; `AddMvc()` + `AddMvcWebApi()`; native `HttpRequest` / `IActionResult` with MVC `WebApi`. |
| HTTP idempotency | Explicit `webApi.FunctionWithIdempotencyAsync(...)` around a deferred WebApi operation; register an idempotency provider, using `AddInMemoryCoordination()` only for intentionally single-instance hosts. |
| Service Bus publishing | Configured `IEventPublisher` backed by `ServiceBusPublisher` or outbox; `Add` then await `PublishAsync`. Direct means no outbox, not raw SDK sending. |
| Service Bus receiving | Native trigger delegating to a CoreEx typed/dispatched subscriber through `subscriber.FunctionReceiveAsync`; `AutoCompleteMessages = false`. |
| Blob | Native binding; Aspire-registered worker clients. Choose source, revision handling, output identity and failure policy explicitly. For CSV, use `coreex-file`. |
| Timer | Native `TimerTrigger`, schedule app setting and cancellation; choose retry/overlap semantics for the workload. |
| Invocation testing | `FunctionTester.Create<TFunction>()`, `HttpTrigger<T>()` or `Trigger<T>()`; test real worker composition without claiming runtime delivery. |

Use business-capability folders, not mandatory per-trigger folders. One class per file is normal; related HTTP methods can share a class. Trigger methods stay thin; shared application services or standalone local handlers own processing. Do not generate sample functions, health endpoints or infrastructure the user did not request.

Preserve configured custom publisher/subscriber implementations, decorators and supported overrides. CloudEvents are the default, with explicit native opt-in on the same pipeline. Raw SDK sends, output bindings or a custom receive callback need a concrete documented requirement, not merely a simple workload; native trigger ownership does not imply bypassing CoreEx messaging.

For the authoritative interview, implementation and validation procedure, read [references/workflow.md](references/workflow.md). Consult [references/patterns.md](references/patterns.md) for verified startup, HTTP, settlement and test shapes.

## Key References

- [Functions invariants](/.github/instructions/coreex-functions.instructions.md).
- [Universal conventions](/.github/instructions/coreex-conventions.instructions.md) and [test invariants](/.github/instructions/coreex-tests.instructions.md).
- [coreex-scaffold](../coreex-scaffold/SKILL.md), [coreex-app-service](../coreex-app-service/SKILL.md), [coreex-contract](../coreex-contract/SKILL.md), [coreex-validator](../coreex-validator/SKILL.md), [coreex-adapter](../coreex-adapter/SKILL.md).
- [Functions package guide](/.github/docs/coreex/agents/CoreEx.Azure.Functions.md) — version-pinned cache; optional deeper reference.
- [coreex-file](../coreex-file/SKILL.md) — generated CSV definition, processor, and scoped-handler workflow.
- [Executable Functions examples (CoreEx framework tests — illustrative, not in your project)](https://github.com/Avanade/CoreEx/tree/main/tests/CoreEx.Azure.Functions.TestApp).

Files in this skill

  • SKILL.md4.8 KB
  • references/patterns.md6.1 KB
  • references/workflow.md11.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in databases →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.