Communitygithub.com

aiskillstore/marketplace

Automatisch geladener Kontext für die Entwicklung von Portfolio Buddy 2. Verwende diesen Skill für jede Aufgabe, die React 19, TypeScript, Portfolio-Analyse, Metrikberechnungen, Trading-Strategievergleiche oder die Arbeit mit der Portfolio Buddy 2-Codebasis betrifft. Enthält Tech-Stack, bekannte Probleme und architektonische Einschränkungen.

Was ist marketplace?

Dieser Skill bietet automatisch geladenen Projektkontext für die Entwicklung von Portfolio Buddy 2, einem Portfolio-Analyse-Tool für Investoren und Futures-Trader. Er definiert den vollständigen Tech-Stack (React 19, TypeScript, Vite, Supabase, Cloudflare Pages) und beschreibt die Hauptfunktionen: Strategievergleiche mit Benchmark-Assets, Korrelationsmatrix-Berechnungen (Spearman & Pearson), Risikometriken (Sharpe, Sortino, Max DD), CSV-Upload und Futures-Kontraktmultiplikatoren. Der Skill dokumentiert bekannte technische Schulden wie drei überdimensionierte Komponenten (591 Zeilen in PortfolioSection.tsx) und 15 TypeScript-`any`-Verstöße, die als Teil der Codequalitätsziele behandelt werden müssen. Er enthält auch kürzlich hinzugefügte Funktionen (Sortino-Ratio, Datumsbereichsfilterung, erweiterte Mehrfachspaltensortierung) und architektonische Einschränkungen (max. 200 Zeilen pro Komponente, striktes TypeScript, nur einfache React-Hooks). Entwickler können diesen Skill für jede Aufgabe innerhalb der Portfolio Buddy 2-Codebasis verwenden, um sicherzustellen, dass sie die aktuellen Konventionen, bekannten Bugs und Projektziele berücksichtigen.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aiskillstore/marketplace/tree/HEAD/skills/5minfutures/portfolio-context

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Portfolio Buddy 2 - Projektkontext

Technologie-Stack

  • Frontend: React 19, TypeScript, Vite
  • UI: Tailwind CSS, shadcn/ui (nur Farbsystem)
  • Diagramme: Chart.js, react-chartjs-2, chartjs-Plugins (Zoom, Annotation, Datumsadapter)
  • Zustand: Reines React (useState, useMemo, useCallback)
  • Datenhilfsprogramme: date-fns für Datumsmanipulation
  • Backend: Supabase (PostgreSQL)
  • Bereitstellung: Cloudflare Pages

Projektzweck

Portfolio-Analyse-Tool für Investoren und Futures-Trader zum:

  • Vergleichen von Handelsstrategien mit Benchmark-Assets (SPY, GLD)
  • Berechnen von Korrelationsmatrizen zwischen Assets (Spearman & Pearson)
  • Analysieren von Risikometriken und Performance (Sharpe, Sortino, Max DD, usw.)
  • Hochladen von Handelsdaten per CSV und Visualisieren der Ergebnisse
  • Anwenden von Kontraktmultiplikatoren zur Anpassung von Metriken für Futures-Handel
  • Filtern von Daten nach Datumsbereich für zeitraumspezifische Analysen

Bekannte Probleme & Technische Schulden

Aktuelle Technische Schulden

  1. Nicht verwendete Abhängigkeit: Recharts (11,5 KB) installiert, aber nie importiert

    • Sollte aus package.json entfernt werden
    • Verwendet stattdessen Chart.js
  2. Überdimensionierte Komponenten: Verstoß gegen die 200-Zeilen-Norm

    • PortfolioSection.tsx (591 Zeilen) → muss in Unterkomponenten refaktorisiert werden
    • App.tsx (351 Zeilen) → Abschnitte in Komponenten auslagern
    • MetricsTable.tsx (242 Zeilen) → verbessert, aber immer noch über dem Limit
  3. TypeScript-Verstöße: 15 Instanzen des Typs any

    • usePortfolio.ts: 11 Vorkommen in Handels-/Metriktypen
    • useMetrics.ts: 4 Vorkommen in Sortiervergleichen
    • dataUtils.ts: 1 Vorkommen im Metrics-Interface

Bekannte Fehler

  1. Supabase-Upload-Fehler: Gelegentliche 500-Fehler bei großen Uploads
    • Verbesserte Fehlerbehandlung in Commit 9fb7fdb hinzugefügt
    • Fehlerbehandlung in Upload-Hooks überprüfen
    • Sicherstellen, dass Zeilengrenzen im kostenlosen Tarif nicht überschritten werden

Kürzlich hinzugefügte Funktionen

  • Sortino-Ratio-Berechnung (Commits 258ba3a, 9f25040)
    • Ort: Inline in PortfolioSection.tsx implementiert (Zeilen 133-158)
    • Risikofreier Zinssatz-Eingabestatus für benutzerdefinierten risikofreien Zinssatz
    • Annualisierte Abwärtsabweichung mit sqrt(365)-Faktor
    • Korrigierte Varianzberechnung (dividiert durch Gesamtrenditen, nicht nur negative)
    • Angezeigt im Portfolio-Statistikbereich (Zeile 535)
    • Hinweis: NICHT in dataUtils.ts - aufgrund des Portfolio-Kontexts in der Komponente belassen
  • Datumsbereichsfilterung (Commit 258ba3a)
    • Portfoliodaten nach Start-/Enddatum filtern
    • Implementiert im usePortfolio-Hook
  • Erweiterte Mehrfachspaltensortierung (useSorting-Hook)
    • Sortieren nach mehreren Spalten mit Priorität
    • Benutzerdefinierte Vergleichslogik pro Spalte

Architektonische Einschränkungen

  • Komponentenlimit: Maximal 200 Zeilen pro Komponente (derzeit von 3 Komponenten verletzt)
  • Hook-Muster: Benutzerdefinierte Hooks in /src/hooks/
  • Utils-Muster: Reine Funktionen in /src/utils/
  • Typsicherheit: Strenges TypeScript, keine any-Typen (15 Verstöße bestehen als technische Schulden)
  • Zustandsverwaltung: Nur einfache React-Hooks - kein Zustand oder TanStack Query

Wichtige Komponentenstruktur

src/
├── components/
│   ├── AnalyticsControls.tsx     (Umschalten der Ansichten Metriken/Portfolio/Korrelation)
│   ├── ContractInput.tsx         (Eingaben für Kontraktmultiplikatoren)
│   ├── CorrelationHeatmap.tsx    (Korrelationsvisualisierung)
│   ├── CorrelationSection.tsx    (Wrapper für Korrelationsanalyse)
│   ├── CustomTooltip.tsx         (Diagramm-Tooltips)
│   ├── ErrorList.tsx             (Fehleranzeige)
│   ├── Header.tsx                (App-Kopfzeile)
│   ├── MasterContractControl.tsx (Kontraktwert auf alle anwenden)
│   ├── MetricsTable.tsx          (Metrikanzeige & -auswahl)
│   ├── PortfolioSection.tsx      (Portfolio-Diagramme & -Analyse - 591 Zeilen!)
│   ├── SessionComplete.tsx       (Abschluss-UI)
│   ├── SortableHeader.tsx        (Tabellenkopf mit Sortierindikatoren)
│   ├── UploadedFilesList.tsx     (Liste hochgeladener Dateien)
│   └── UploadSection.tsx         (Datei-Upload zu Supabase)
├── hooks/
│   ├── useContractMultipliers.ts (Verwaltung von Kontraktmultiplikatoren)
│   ├── useMetrics.ts             (Berechnung von Handelsmetriken)
│   ├── usePortfolio.ts           (Portfoliodaten & Datumsfilterung)
│   └── useSorting.ts             (erweiterte Mehrfachspaltensortierung)
└── utils/
    └── dataUtils.ts              (Metrikberechnungen, CSV-Parsing, Korrelationen)

Wichtige Konventionen

  • Pfad-Alias: @/ zeigt auf src/ – für alle internen Importe verwenden
  • shadcn-ui: Nur Farb-Tokens – CSS-Variablen in src/index.css, keine tatsächlichen shadcn-Komponenten installiert. Könnten später via npx shadcn@latest add button usw. hinzugefügt werden
  • Git-Workflow: Feature-Branches → git checkout -b feature/name → konventioneller Commit (feat:, fix:, chore:) → PR zu main
  • Community-Branding: 5minfutures.com Trading-Community; Skool-Logo in Assets; GoHighLevel-Formular eingebettet

Migrationskontext

Migration von 40 Funktionen aus der alten App (90% abgeschlossen). Siehe Skill migration-tracker für Details.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

aiskillstore/marketplace

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

aiskillstore/marketplace

Use when the user asks to "pre-launch check the landing page", "run a Quality-Score preflight", or "verify ad-to-page message match before launch"; produces an ad↔page continuity report — message-match gaps, above-the-fold check, page-speed read, form-friction count, mobile-render flags — as a pass/fix punch list. Not for redesigning or rewriting the page — use landing-optimizer; not for scoring the account or the RQS — use ad-account-auditor. 落地页体验预检/广告落地页一致性检查

aiskillstore/marketplace

Use when the user asks to "optimize our landing page for influencer traffic", "fix our promo-code landing page", or "improve conversion from a creator campaign"; produces a message-match audit, page-structure and social-proof recommendations, a promo-code/CTA conversion plan, and an A/B test roadmap. Not for measuring campaign results after launch — use performance-analyzer.

aiskillstore/marketplace

Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review, critique or improve a landing page, sales page, opt-in page, product page or checkout flow, when conversion rate is low, when paid traffic is not converting, or when someone asks "why isn't this page converting" or wants a CRO / landing page review.

aiskillstore/marketplace

This skill helps users extract GitHub repository project details and contributor contact information using keywords, stars, and update dates. Agent should proactively apply this skill when users express needs like search for GitHub projects by keywords, find top open-source contributors in specific domains, extract developer contacts from GitHub repositories, discover trending repositories with high stars, gather contributor profiles and social links for tech recruiting, retrieve GitHub project descriptions and metrics, build developer communities by finding active contributors, search for repositories updated recently, collect personal website and Twitter links of developers, generate targeted leads for developer tools, or track active open-source contributors for collaboration.

aiskillstore/marketplace

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

aiskillstore/marketplace

Using the Wonda CLI to generate images, videos, music, and audio from the terminal — plus LinkedIn, Reddit, and X/Twitter research and automation

aiskillstore/marketplace

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

aiskillstore/marketplace

Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.

aiskillstore/marketplace

Process video files with audio extraction, format conversion (mp4, webm), and Whisper transcription. Use when user mentions video conversion, audio extraction, transcription, mp4, webm, ffmpeg, or whisper transcription.

aiskillstore/marketplace

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas.

aiskillstore/marketplace

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

aiskillstore/marketplace

Router skill for LLMQuant portfolio workflows. Use when the user needs company profiles, thesis tracking, theme research, watchlist monitoring, or alert management.

aiskillstore/marketplace

Account assets, equity and fund positions, P&L, cash flow records, account statements, margin ratios, buy-power estimates, order management, and DCA recurring investments via Longbridge (most require Trade permission). Frameworks: portfolio diagnosis, rebalancing, asset allocation, risk analysis (VaR/CVaR), performance attribution, and tax-loss harvesting. Triggers: "持仓", "账户", "盈亏", "资产", "对账单", "下单", "买入", "卖出", "撤单", "定投", "组合诊断", "再平衡", "资产配置", "风险分析", "绩效归因", "税损收割", "持倉", "賬戶", "盈虧", "對賬單", "下單", "買入", "賣出", "組合診斷", "再平衡", "稅損收割", "positions", "portfolio", "P&L", "order", "buy", "sell", "DCA", "statement", "risk analysis", "rebalancing", "tax harvesting", "我的风险", "持仓风险", "风险敞口", "資產", "資產配置", "風險分析", "績效歸因", "撤單

aiskillstore/marketplace

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

aiskillstore/marketplace

Use for Codex models/pricing, scheduled tasks, skills, settings, setup, troubleshooting, customization, automations, and self-knowledge—including 'you,' 'your,' 'this app,' or 'this coding agent' when they refer to Codex—and for OpenAI APIs/products and ChatGPT Work. Also use for model choice/migration, prompting, SDKs, Responses, Realtime, agents, evals, and Chat/Work/Codex comparisons. Do not use for generic app/software tasks that merely mention Codex.

aiskillstore/marketplace

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

aiskillstore/marketplace

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

aiskillstore/marketplace

Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.

aiskillstore/marketplace

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

Verwandte Skills