fernandoteixxeira/stark-bank-challenge/stark-bank-java-sdk

Claude Code and agent skill by fernandoteixxeira/stark-bank-challenge

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when integrating Java applications with the official Stark Bank Java SDK, including Maven dependency com.starkbank:sdk, Project credentials, Invoice creation, Transfer creation, webhook event parsing, and adapter boundaries.

Install

npx vskill@latest install fernandoteixxeira/stark-bank-challenge/stark-bank-java-sdk

SKILL.md

The same SKILL.md was published earlier as fernandoteixxeira/stark-bank-challenge/stark-bank-java-sdk.

Stark Bank Java SDK

Use the official Stark Bank Java SDK behind outbound adapters. The domain must depend on project ports, not SDK classes.

Official SDK Facts

  • Repository: https://github.com/starkbank/sdk-java
  • Maven dependency: com.starkbank:sdk
  • README currently documents version 2.25.2.
  • The SDK supports Java 8+.
  • Stark Bank API version: v2.
  • Project credentials require environment, Project ID, and private key content.
  • Private keys must not be hard-coded.

Maven Dependency

Declare the SDK only in the output adapter module that talks to Stark Bank.

xml
<dependency>
<groupId>com.starkbank</groupId>
<artifactId>sdk</artifactId>
<version>${starkbank.sdk.version}</version>
</dependency>

Keep ${starkbank.sdk.version} centralized in the parent POM.

Hexagonal Boundary

Domain port example:

java
public interface InvoiceIssuerPort {
List<IssuedInvoice> issue(List<CreateInvoiceCommand> commands);
}

Output adapter responsibility:

  • map domain commands to com.starkbank.Invoice
  • call Invoice.create(...)
  • map SDK results to domain output types
  • translate SDK exceptions to adapter/domain-safe failures

Invoice Creation

The SDK supports Invoice.create(...). Invoice requests should include at least:

  • amount in cents
  • name
  • taxId
  • optional tags for traceability

Do not expose SDK HashMap payload construction outside the Stark Bank output adapter.

Credentials

Load credentials from configuration:

  • STARKBANK_ENVIRONMENT
  • STARKBANK_PROJECT_ID
  • STARKBANK_PRIVATE_KEY

The adapter or configuration module should create a Stark Bank Project and provide it to SDK calls. Do not set global SDK state in domain code.

Testing

  • Unit test domain use cases with fake ports.
  • Adapter tests should verify SDK payload mapping.
  • Avoid hitting Sandbox in normal unit tests.
  • Use integration tests only when credentials and environment are explicitly available.

Review Checklist

  • The SDK dependency exists only in output adapters.
  • Domain code imports no com.starkbank.* types.
  • Amounts are passed in cents.
  • Private key and Project ID come from configuration.
  • SDK failures are translated at the adapter boundary.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/fernandoteixxeira/stark-bank-challenge/stark-bank-java-sdk/badge)](https://verified-skill.com/skills/fernandoteixxeira/stark-bank-challenge/stark-bank-java-sdk)

Something wrong with this skill or its page? Tell us.