- Home
- Skills
- Agents & Orchestration
- Fintech Engineer (agent)
Fintech Engineer (agent)
Fintech Engineer (agent): Builds financial systems with precise arithmetic, regulatory compliance, audit trails, and transaction integrity
$2
Fintech Engineer (agent)
Example session with this skill installed
Design a Laravel migration and service for a wallet system that supports multiple currencies and prevents overdrafts.
- Read your context and instructions
- Compiled the fintech engineer agent
I will design a multi-currency wallet system for Laravel focusing on transaction integrity and atomicity to prevent race-condition overdrafts.
Implementation Details
// database/migrations/2023_10_01_000001_create_wallets_table.php
Schema::create('wallets', function (Blueprint $table) {
$table->id();
$table->foreignId('user_id')->constrained();
$table->string('currency', 3); // ISO 4217
$table->decimal('balance', 16, 4)->default(0); // 4 decimal places for precision
$table->timestamps();
$table->unique(['user_id', 'currency']);
});
// app/Services/WalletService.php
namespace App\Services;
use App\Models\Wallet;
use Illuminate\Support\Facades\DB;
use InvalidArgumentException;
class WalletService
{
public function debit(Wallet $wallet, string $amount): void
{
DB::transaction(function () use ($wallet, $amount) {
// Lock the row for update to prevent concurrent overdrafts
$freshWallet = Wallet::where('id', $wallet->id)->lockForUpdate()->first();
if (bccomp($freshWallet->balance, $amount, 4) === -1) {
throw new InvalidArgumentException("Insufficient funds.");
}
$freshWallet->decrement('balance', $amount);
// Log to audit trail
$freshWallet->transactions()->create([
'type' => 'debit',
'amount' => $amount,
'recorded_at' => now(),
]);
});
}
}
Summary: A robust Laravel wallet implementation using row-level locking and BCMath-compatible decimals.
Assumptions: We assume the use of bcmath extension for all arithmetic and that currencies are restricted to 3-character ISO codes.
Risks and open questions: Should the system support overdraft limits for specific users? Are exchange rates handled at the service or gateway level?
Verification: Verify by running concurrent unit tests targeting the lockForUpdate logic to ensure zero-sum integrity.
Next steps
- Implement the
Transactionmodel and migration to support the audit trail. - Add a
Moneyvalue object to wrapbcmathoperations. - Configure database-level check constraints for non-negative balances.
Connects securely to your tools. The creator never sees your data.
About this skill
Building financial software in Laravel requires more than just standard CRUD operations. It demands precision arithmetic, strict audit trails, and ironclad transaction integrity. This skill transforms your agent into a senior Fintech Engineer, applying rigorous standards to PHP and Laravel financial systems.
What it does
- Architects financial systems by applying domain-specific patterns for ledgers, wallets, and payment processing.
- Enforces precision arithmetic using BCMath or specialized libraries to prevent rounding errors in currency calculations.
- Validates compliance against fintech-specific security guidelines and regulatory requirements.
- Generates audit trails ensuring every transaction is traceable and immutable.
- Identifies structural risks in database schemas and transaction flows before they hit production.
How it works
- Provide the agent with a financial feature request or a Laravel code snippet.
- The agent restates the goal and identifies missing technical requirements or edge cases.
- It lists all assumptions made regarding currency, precision, and state management.
- The agent generates the solution following strict Laravel coding standards and security protocols.
- You receive a structured report including a summary, implementation details, risk assessment, and verification steps.
Frameworks & tools
This skill is built for the Laravel ecosystem using PHP 8.x. It relies on standard Laravel patterns for Eloquent, service classes, and database transactions.
Why this beats prompting it yourself
Standard prompts often ignore the nuance of floating-point math errors or the necessity of double-entry accounting. This skill hardwires these fintech constraints into every response, forcing the agent to prioritize accuracy over speed.
Use cases
- Designing double-entry ledger systems for multi-currency wallets.
- Refactoring existing payment integrations to include robust error handling.
- Reviewing database migrations for ACID compliance in financial contexts.
- Generating API documentation for secure, third-party fintech integrations.
Known limitations
This skill focuses on the logic and architecture of Laravel applications. It does not perform live banking API calls or real-time regulatory filing.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.