stp-automation
Design and implement straight-through processing and operational automation for securities operations. Use when measuring STP rates and identifying manual touchpoints in an existing process, replacing review-all workflows with exception-based processing, selecting automation patterns for account opening trade processing settlement reconciliation or billing, designing integration between portfolio management custodian CRM and order management systems, building exception queuing categorization and auto-resolution workflows, evaluating RPA vs API-based vs hybrid automation for legacy systems, establishing operational controls and audit trails for automated environments, conducting process mining or root cause analysis on exception volumes, or setting STP rate targets and continuous improvement programs.
What this skill does
# STP & Automation ## Purpose Guide the design and implementation of straight-through processing (STP) and operational automation in securities operations. Covers STP architecture and design principles, exception-based processing, STP rate measurement, process automation techniques, integration patterns between operations systems, and operational efficiency improvement. Enables building or improving operations infrastructure that maximizes automated processing while maintaining accuracy and controls. ## Layer 12 — Client Operations (Account Lifecycle & Servicing) ## Direction prospective ## When to Use - Designing or evaluating STP architecture for a securities operations workflow - Measuring STP rates and identifying manual touchpoints in an existing process - Implementing exception-based processing to replace review-all workflows - Selecting automation patterns for a specific operations domain (account opening, trade processing, settlement, reconciliation, corporate actions, reporting, billing) - Designing integration between operations systems (portfolio management, custodian, CRM, order management, accounting) - Building or improving exception queuing, categorization, and resolution workflows - Evaluating RPA, API-based, or hybrid automation approaches for legacy system interactions - Establishing operational controls, audit trails, and monitoring for automated environments - Conducting process mining or root cause analysis on exception volumes - Setting STP rate targets and continuous improvement programs - Trigger phrases: "straight-through processing," "STP rate," "exception-based processing," "automation," "manual touchpoints," "process automation," "exception queue," "auto-resolution," "integration pattern," "operational efficiency" ## Core Concepts ### 1. STP Fundamentals Straight-through processing is the end-to-end automated completion of a business process without manual intervention. The defining characteristic is that a transaction or workflow enters the system at one end and exits as a completed, booked, and confirmed event at the other end with no human touching it along the way. **STP vs. automation.** The terms are related but not interchangeable. Automation refers to replacing a manual step with a programmatic one — a single task within a larger process. STP is the complete automation of an entire workflow from initiation to completion. A process can be partially automated (several steps are programmatic, but a human reviews or approves at a midpoint) without being STP. True STP means zero manual intervention for the happy path. **STP rate calculation.** The fundamental metric is: ``` STP Rate = Automated Completions / Total Volume * 100 ``` An "automated completion" is a transaction or workflow instance that passed through every step without manual intervention. If a trade requires a human to confirm a counterparty identifier before it can settle, that trade is not STP even though every other step was automated. The denominator is total volume, including both automated and exception items. **Industry benchmarks by process type.** STP rates vary significantly by domain and firm maturity: - Equity trade processing (listed, domestic): 90-98% for mature firms - Fixed income trade processing: 70-85% (lower due to less standardized identifiers and settlement conventions) - Account opening (simple individual/joint accounts): 60-80% - Account opening (complex entity/trust accounts): 20-40% - Corporate actions (mandatory events): 80-90% - Corporate actions (voluntary events): 30-50% - Reconciliation (position and cash): 85-95% auto-match rates - Settlement instruction matching: 75-90% These ranges reflect the spectrum from mid-tier broker-dealers to large custodian banks. A firm's position within the range depends on data quality, system integration maturity, and the complexity of its product mix. **The business case for STP.** The value of STP compounds across four dimensions: - **Cost reduction.** Each manual touchpoint has a fully loaded cost (salary, benefits, training, management oversight, workspace). STP eliminates per-transaction labor cost for automated items, converting variable cost into fixed infrastructure cost. - **Speed.** Automated processing completes in seconds or milliseconds. Manual processing introduces queuing delays, handoff delays, and human processing time. For time-sensitive operations like settlement, speed directly reduces risk. - **Error reduction.** Manual data entry, re-keying, and judgment-based decisions introduce errors. Automated validation and routing apply consistent rules without fatigue, distraction, or interpretation variance. - **Scalability.** An STP-enabled process can handle volume increases with minimal incremental cost. A manual process requires proportional staffing increases. During peak periods (quarter-end, rebalancing events, corporate action clusters), STP prevents the staffing bottleneck. ### 2. STP Architecture Building STP capability requires five architectural layers that work in concert. A weakness in any layer breaks the chain and forces manual intervention. **Data standardization.** This is the foundation. STP fails when systems disagree on how to represent the same entity. Standardization encompasses: - **Identifiers.** Security identifiers (CUSIP, ISIN, SEDOL, ticker), counterparty identifiers (LEI, DTCC participant number, BIC/SWIFT code), account identifiers (custodian account number, internal account ID). Every system in the chain must resolve to the same identifier for the same entity. - **Formats.** Date formats (ISO 8601), currency codes (ISO 4217), country codes (ISO 3166), quantity representations (whole shares vs. fractional, signed vs. unsigned), price formats (decimal vs. fraction for fixed income). - **Reference data.** A golden source for security master data, counterparty data, and account data that all systems consume. Discrepancies in reference data are the single largest source of STP breaks. - **Messaging standards.** FIX protocol for trade messages, SWIFT for settlement instructions, ISO 20022 for payments and corporate actions. Adoption of industry-standard messaging reduces translation errors. **Validation rules.** At each step in the process, the system applies automated checks to confirm the data is complete, consistent, and within expected parameters: - **Completeness checks.** All required fields populated (e.g., a settlement instruction must have settlement date, security identifier, quantity, counterparty, settlement location). - **Format checks.** Values conform to expected formats (dates are valid, amounts are numeric, identifiers match expected patterns). - **Cross-field checks.** Logical consistency between fields (settlement date is after trade date, quantity and side agree with the net money calculation, currency matches the security's denomination). - **Range checks.** Values fall within acceptable ranges (price is within a tolerance of the last known price, quantity does not exceed position, settlement date is within the standard settlement cycle). - **Referential checks.** Referenced entities exist in the system (the security is in the security master, the counterparty is in the counterparty database, the account is active). **Routing rules.** Automated decision-making that directs a transaction through the correct processing path without human judgment: - **Product-based routing.** Equities route to equity settlement, fixed income to fixed income settlement, derivatives to derivatives processing. - **Market-based routing.** Domestic trades route to domestic settlement systems, international trades route to global custody. - **Counterparty-based routing.** Trades with certain counterparties route to specialized queues or systems (e.g., prime brokerage trades, DVP vs. free delivery). - **Threshold-based routing.** Transactions above a dollar or quantity threshold route to a senior review queue. Transactions below the t
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.