Skip to content
Prompt

trade-safety — Copilot Instructions

by algorima

AI Summary

A Korean-language code review guide for the Trade Safety project, providing development standards for a K-pop merchandise trading safety analysis tool. Developers building scam-detection features for international fan communities would benefit from its architectural and code quality guidelines.

Install

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

I want to add the "trade-safety — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/algorima/trade-safety

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

AI-powered safety analysis for K-pop merchandise trading - Helps international fans overcome language barriers and detect scam signals

프로젝트 구조

• frontend/: NPM 라이브러리 + Next.js 애플리케이션 (데모/개발용) • package.json, package-lock.json 모두 git에 커밋 (dual-purpose 프로젝트) • dependencies 변경 시 npm install 실행하여 package-lock.json 업데이트 필요

코드 품질

• DRY: 중복 금지, aioia-core 재사용 • Opportunistic Refactoring: 변경 쉽게 → 변경 (make the change easy, then make the easy change) • Guard Clause: 함수 초반에 전제조건 검사, 실패 시 즉시 반환 • 오류 처리: 예상 오류 catch, 예상 외 throw • 불변 조건(DB에서 조회한 데이터의 필수 필드 등)은 assert로 검증

아키텍처 원칙

• Presentational (/components/**): UI만 담당. API/전역상태/라우팅 금지. i18n(useTranslation)은 허용. • Container (/page.tsx): 데이터 페칭, 전역 상태, 비즈니스 로직 담당.

문제 해결 (5 Whys)

• 새로운 문제가 발생하면, "왜?"를 충분히 반복하여 근본 원인을 먼저 파악하세요. • 표면적 증상이 아닌 시스템적 원인을 찾아 해결하세요.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
6 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars6
Issues1
Updated2mo ago
View on GitHub
Apache-2.0 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