Agent skill · software engineering · aiskillstore

portfolio-context

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

Why this skill is useful

Provides detailed architectural constraints and tech stack specifics for React 19 and TypeScript development that the AI wouldn't reliably generate on its own.

What it needs

About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Portfolio Buddy 2 - Project Context Tech Stack Frontend: React 19, TypeScript, Vite UI: Tailwind CSS, shadcn/ui (color system only) Charts: Chart.js, react-chartjs-2, chartjs plugins (zoom, annotation, date adapter) State: Plain React (useState, useMemo, useCallback) Data Utils: date-fns for date manipulation Backend: Supabase (PostgreSQL) Deployment: Cloudflare Pages Project Purpose Portfolio analysis tool for investors and futures traders to: Compare trading strategies vs benchmark assets (SPY, GLD) Calculate correlation matrices between assets (Spearman & Pearson) Analyze risk metrics and performance (Sharpe, Sortino, Max DD, etc.) Upload trade data via CSV and visualize results Apply contract multipliers to adjust metrics for futures trading Filter data by date range for period-specific analysis Known Issues & Tech Debt Current Tech Debt 1. Unused Dependency: Recharts (11.5KB) installed but never imported Should be removed from package.json Currently using Chart.js instead 2. Oversized Components: Violate 200-line standard PortfolioSection.tsx (591 lines) → needs refactoring into subcomponents App.tsx (351 lines) → extract sections into components MetricsTable.tsx (242 lines) → improved but still over limit 3. TypeScript Violations: 15 instances of any type usePortfolio.ts: 11 occurrences in trade/metrics types useMetrics.ts: 4 occurrences in sort comparisons dataUtils.ts: 1 occurrence in Metrics interface Known Bugs 1. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/portfolio-context

View the source on GitHub

Browse the @skills marketplace