Skip to content
Prompt

A1Betting7-13.2 — Copilot Instructions

by itzcole03

AI Summary

Heuristic scoring (no AI key configured).

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "A1Betting7-13.2 — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/itzcole03/A1Betting7-13.2

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Copilot Instructions for A1Betting7-13.2

God Prompt: /mobileref

Context: • Goal: Refactor a core frontend component for optimal mobile app compatibility (React Native). • Target File: frontend/src/components/SharedStatDisplay.tsx (a generic component displaying a single statistic, representative of components needing cross-platform adaptation). • Overall Objective: Prepare A1Betting for a future React Native mobile application, ensuring core UI logic is easily portable. • Requirements: • Eliminate all direct DOM manipulation (e.g., document.getElementById, window object usage) and replace with React-idiomatic approaches. • Refactor styling to use platform-agnostic methods (e.g., inline styles, CSS-in-JS solutions that compile to React Native styles, or a design system that supports both web and native). • Strictly separate presentation logic from business logic and data fetching concerns. • Adhere to standard React patterns (functional components, hooks) that are compatible with React Native. • Consider how user interactions (gestures, touch events) would replace traditional mouse events and suggest appropriate abstractions. • Identify and comment on any remaining web-specific dependencies or APIs that would require native module development in React Native. Task: Review and refactor SharedStatDisplay.tsx to maximize its compatibility with React Native. Focus on abstracting platform-specific elements, promoting reusable logic, and providing clear comments on the path to full React Native portability. Ensure the refactored component still functions correctly within the existing Electron/web frontend.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 5mo ago
Stale
AdoptionUnder 100 stars
0 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Forks1
Issues2
Updated5mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more