anclax-develop-feature

Develop, review, or refactor Go services built with Anclax, including OpenAPI specs, handlers, service/business logic, database/sqlc changes, async tasks, and Wire dependency injection.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "anclax-develop-feature" with this command: npx skills add cloudcarver/anclax/cloudcarver-anclax-anclax-develop-feature

Anclax Development Workflow

Use Anclax generated types as the contract between layers and keep specs/SQL as the source of truth.

Design principles

  • Singleton services with dependency injection.
  • High cohesion, low coupling.

Core flow

  1. Inspect anclax.yaml to learn generation paths and enabled generators.
  2. Update sources first:
    • OpenAPI: api/v1.yaml
    • Tasks: api/tasks.yaml
    • DB schema: sql/migrations
    • Queries: sql/queries
  3. Run anclax gen after any spec/SQL/Wire changes.
  4. Implement code against generated interfaces and types.
  5. Add unit tests for service logic with mocks.

Layering rules

  • Handler: parse HTTP, call service, map errors to HTTP responses.
  • Service: implement business logic, accept and return apigen types.
  • Model: use pkg/zcore/model and sqlc-generated queries.
  • Async tasks: define in api/tasks.yaml, implement taskgen.ExecutorInterface, enqueue via taskgen.TaskRunner.

References and Examples

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Summarize Tianjin

Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).

Registry SourceRecently Updated
Coding

Expense Categorization

Extract and categorize expenses from receipts or statements, map to GL codes, check compliance with policies, and flag anomalies for review.

Registry SourceRecently Updated
Coding

agent-bom compliance

AI compliance and policy engine — evaluate scan results against OWASP LLM Top 10, MITRE ATLAS, EU AI Act, NIST AI RMF, and custom policy-as-code rules. Gener...

Registry SourceRecently Updated