AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Specx Add Core Service

skill-maksimzayats-specx-specx-add-core-service · by maksimzayats

Add or refactor a specx core scope service. Use when implementing focused reusable business/application behavior under a core scope services package, extracting logic from a use case, injecting deterministic collaborators, accepting an active unit of work, choosing between Service and Capability, or keeping business decisions away from delivery and infrastructure.

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-maksimzayats-specx-specx-add-core-service

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-maksimzayats-specx-specx-add-core-service)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
22d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Specx Add Core Service? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

specx Add Core Service

Use this skill for reusable core behavior that is smaller than an application action. Read references/service.md before writing the service.

Workflow

  1. Confirm this is reusable business/application behavior, not a small

replaceable ability. Use BaseCapability instead for one narrow injectable thing.

  1. Name the behavior, not a vague role, and always use the Service suffix:

InvoicePricingService, AccessPolicyService, OrderAllocationService, SubscriptionRenewalService.

  1. Put it under core//services/.py.
  2. Choose exactly one foundation base:

BasePureService, BaseReadService, or BaseEffectService.

  1. Do not add or use a generic BaseService.
  2. Inject concrete project collaborators when there is one implementation.
  3. Inject ports/ABCs only for external IO, framework-bound dependencies, or

multiple real implementations. Do not create an interface only to make a concrete collaborator mockable.

  1. Add a docstring that explains the service scope and includes a concrete

Example:.

  1. Keep methods keyword-only after self.
  2. Do not open UoW scopes in services. Use cases own transaction lifecycle and

pass active UoWs into read/effect services when needed.

  1. Add flat unit tests that receive the native pytest container fixture,

register local doubles or inline mocks before resolution, and resolve the service with container.resolve(ServiceClass).

Operational probe services may live under core/health when readiness checks any required external dependency or policy is reused across deliveries. Keep simple process liveness in delivery. Use a pure service for reusable liveness policy and a read service for readiness coordination. Readiness services depend on gateway ports, not SQLAlchemy, Redis, SDKs, or delivery frameworks directly. Technical readiness adapters must bound external checks with short timeouts so a probe cannot hang indefinitely.

Code Style

Use blank lines as logical separators in all code. Keep related statements together, but separate independent setup, action, assertion, response, branch, and transformation groups so long blocks stay readable.

References

  • references/service.md - class shape, dependency choices, UoW parameter

rules, and unit-test examples.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.