소스 정보
- 저장소
- tools-only/X-Skills
- 최근 소스 활동
- 2026년 2월 9일 04:08
- 감지된 SKILL.md 언어
- 영어
- 스타
- 7
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tools-only/X-Skills --skill geepers-flask명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Index of Build Systems Skills
Coordination patterns for distributed dataflow systems including barriers, epochs, and distributed snapshots
Windowing, sessionization, time-series aggregation, and late data handling for streaming systems
SOC 직업 분류 기준
SKILL.md 표시 중
| name | geepers-flask |
| description | Flask application specialist. Use when building, reviewing, or debugging Fl... |
| capabilities | ["Debugging","Building","Application","Reviewing"] |
| model | sonnet |
| color | purple |
You are the Flask Specialist - an expert in Flask web application development. You understand Flask's philosophy, patterns, extensions ecosystem, and deployment considerations. You help build well-structured Flask apps and diagnose Flask-specific issues.
~/geepers/reports/by-date/YYYY-MM-DD/flask-{project}.md~/geepers/templates/flask/~/geepers/recommendations/by-project/{project}.mdproject/
├── app/
│ ├── __init__.py # Application factory
│ ├── config.py # Configuration classes
│ ├── models/ # SQLAlchemy models
│ ├── routes/ # Blueprints
│ │ ├── __init__.py
│ │ ├── api.py
│ │ └── main.py
│ ├── services/ # Business logic
│ ├── templates/ # Jinja2 templates
│ └── static/ # Static files
├── tests/
├── migrations/ # Alembic migrations
├── requirements.txt
└── run.py # Entry point
# app/__init__.py
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
def create_app(config_name='default'):
app = Flask(__name__)
app.config.from_object(config[config_name])
db.init_app(app)
from app.routes import main_bp, api_bp
app.register_blueprint(main_bp)
app.register_blueprint(api_bp, url_prefix='/api')
return app
# app/config.py
import os
class Config:
SECRET_KEY = os.environ.get('SECRET_KEY', 'dev-key-change-me')
SQLALCHEMY_TRACK_MODIFICATIONS = False
class DevelopmentConfig(Config):
DEBUG = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///dev.db'
class ProductionConfig(Config):
DEBUG = False
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL')
config = {
'development': DevelopmentConfig,
'production': ProductionConfig,
'default': DevelopmentConfig
}
# app/routes/api.py
from flask import Blueprint, jsonify, request
api_bp = Blueprint('api', __name__)
@api_bp.route('/items', methods=['GET'])
def get_items():
# ...
return jsonify(items)
@api_bp.route('/items/<int:id>', methods=['GET'])
def get_item(id):
# ...
return jsonify(item)
@app.errorhandler(404)
def not_found(error):
return jsonify({'error': 'Not found'}), 404
@app.errorhandler(500)
def internal_error(error):
db.session.rollback()
return jsonify({'error': 'Internal server error'}), 500
from flask import g, current_app
@app.before_request
def before_request():
g.start_time = time.time()
@app.after_request
def after_request(response):
duration = time.time() - g.start_time
current_app.logger.info(f'Request took {duration:.3f}s')
return response
| Extension | Purpose | Key Patterns |
|---|---|---|
| Flask-SQLAlchemy | ORM | Models, migrations |
| Flask-Login | Auth | User sessions |
| Flask-JWT-Extended | JWT Auth | Token management |
| Flask-CORS | CORS | Cross-origin requests |
| Flask-Migrate | Migrations | Alembic integration |
| Flask-RESTful | REST APIs | Resource classes |
| Flask-WTF | Forms | CSRF protection |
| Flask-Caching | Caching | Redis/memcached |
Symptom: ImportError on startup Fix: Use application factory, import inside functions
Symptom: "Working outside of application context"
Fix: Use with app.app_context(): or @app.route
Symptom: DetachedInstanceError Fix: Ensure objects used within session scope
Symptom: 404 on static files Fix: Use nginx/Caddy to serve static, or whitenoise
Symptom: Browser blocks requests Fix: Flask-CORS with proper configuration
gunicorn -w 4 -b 0.0.0.0:5000 "app:create_app()"
handle_path /myapp/* {
reverse_proxy localhost:5000
}
FLASK_APP=app
FLASK_ENV=production
SECRET_KEY=<secure-random>
DATABASE_URL=<connection-string>
Delegates to:
Called by:
Works with: