dbcraft
視覺化設計資料庫綱要
手動綱要設計容易出錯且難以視覺化。DB Craft 提供本機視覺化工作區,可透過 AI 輔助設計 MySQL、PostgreSQL、SQLite 和 MSSQL 綱要,然後匯出可直接部署的 SQL。
스킬 ZIP 다운로드
Claude에서 업로드
설정 → 기능 → 스킬 → 스킬 업로드로 이동
토글을 켜고 사용 시작
테스트해 보기
"dbcraft" 사용 중입니다. Create a users table with id, email, name, and created_at fields
예상 결과:
Generates table in DB Craft UI with proper data types and displays visual schema diagram. User can then export SQL like:
CREATE TABLE users (
id SERIAL PRIMARY KEY,
email VARCHAR(255) NOT NULL UNIQUE,
name VARCHAR(100),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
"dbcraft" 사용 중입니다. Export all tables as MySQL DDL
예상 결과:
Produces complete SQL file with CREATE TABLE statements, indexes, and foreign key constraints ready for deployment to MySQL 8 server.
보안 감사
낮은 위험Static analysis flagged 299 patterns across external commands, network, and environment access. Manual review confirms these are FALSE POSITIVES: the skill launches a local Node.js server (localhost only), makes local HTTP checks to detect running service, and optionally reads OPENAI_API_KEY for user-provided AI table generation. All network calls are to localhost (127.0.0.1:3000). No data exfiltration to external servers. Risk level reduced to low - legitimate local database design tool.
낮은 위험 문제 (3)
위험 요인
⚙️ 외부 명령어 (2)
🌐 네트워크 접근 (2)
🔑 환경 변수 (1)
품질 점수
만들 수 있는 것
快速綱要原型設計
在撰寫任何程式碼之前,快速視覺化並反覆設計資料庫綱要。獲得 AI 輔助,從純文字語言生��資料表結構。
資料庫文件化
建立可作為文件的視覺化綱要圖表。匯出 SQL 以便與團隊成員分享或提交至版本控制。
舊版資料庫逆向工程
匯入現有的 CREATE TABLE 陳述式,以視覺化並重構舊版資料庫結構。一目瞭然地理解關聯性。
이 프롬프트를 사용해 보세요
Open DB Craft so I can design a database schema.
Create a users table with fields for id, email, name, created_at, and password_hash using AI generation.
Import this CREATE TABLE script and help me visualize the schema structure: ```sql CREATE TABLE orders ( id INT PRIMARY KEY AUTO_INCREMENT, user_id INT NOT NULL, total DECIMAL(10,2), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP );```
Generate the PostgreSQL CREATE TABLE statements for all tables in the current model and export to SQL file.
모범 사례
- 經常儲存工作區模型以保留設計進度
- 將 AI 資料表生成作為起點,然後手動調整
- 匯出 SQL 並提交至版本控制以便團隊協作
- 在正式環境之前,於測試環境中測試匯出的 SQL
피하기
- 不要假設 AI 生成的綱要無需審查即可直接用於生產
- 不要使用此技能直接修改生產資料庫
- 不要在部署前跳過匯出 SQL 的驗證