If you're building anything beyond a basic Flask app, this skill covers the patterns you actually need: application factories, blueprints, SQLAlchemy models with relationships, and JWT authentication that doesn't leave security holes. It walks through Flask-RESTful resources with proper request parsing and response marshalling, plus the extensions ecosystem (Flask-Migrate, Flask-CORS, Flask-Limiter) that turns Flask from a microframework into something production-ready. The code examples show real implementations, not toy demos, like handling pagination, protecting routes with decorators, and structuring endpoints that won't make you cringe during code review. Good for when you're past hello world but before you've memorized every Flask extension's quirks.

skills.sh installs
223
GitHub stars
44
last updated
Aug 21, 2026

Install

$ npx -y skills add personamanagmentlayer/pcl --skill flask-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

Flask Expert

Expert guidance for Flask web development, building REST APIs, using extensions, and production deployment.

Core Concepts

Flask Fundamentals

  • Routing and views
  • Request/response handling
  • Templates with Jinja2
  • Blueprints for modularity
  • Application factory pattern
  • Configuration management

Flask Extensions

  • Flask-SQLAlchemy (ORM)
  • Flask-Migrate (database migrations)
  • Flask-Login (authentication)
  • Flask-RESTful (REST APIs)
  • Flask-JWT-Extended (JWT tokens)
  • Flask-CORS (CORS handling)
  • Flask-Limiter (rate limiting)

Best Practices

  • Application structure
  • Error handling
  • Testing
  • Security
  • Production deployment

Basic Flask Application

from flask import Flask, request, jsonify, render_template
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from werkzeug.security import generate_password_hash, check_password_hash
from datetime import datetime

# Application factory
def create_app(config_name='development'):
    app = Flask(__name__)
    app.config.from_object(config[config_name])

    # Initialize extensions
    db.init_app(app)
    migrate.init_app(app, db)

Sponsors

Details

Repository
github.com/personamanagmentlayer/pcl
Categories
Backend & APIs, Python
First seen
Jun 3, 2026

More from personamanagmentlayer/pcl

All 99
1yonatangross avatarerrorsyonatangross/orchestkitError pattern analysis and troubleshooting for Claude Code sessions. Categorizes errors (network, auth, model, tool, memory, permission) with known resolution p223skills.sh installs
2davila7 avatarheygen-best-practicesdavila7/claude-code-templatesBest practices for HeyGen - AI avatar video creation API222skills.sh installs
3crypto-com avatarcrypto-com-exchangecrypto-com/crypto-agent-tradingTrade on Crypto.com Exchange — market data, spot/derivatives orders, portfolio management, wallet operations. Uses cdcx CLI for execution with built-in auth, sa221skills.sh installs
4mhattingpete avatartechnical-doc-creatormhattingpete/claude-skills-marketplaceCreate HTML technical documentation with code blocks, API workflows, system architecture diagrams, and syntax highlighting. Use when users request technical doc221skills.sh installs
5scientiacapital avatarcrm-integrationscientiacapital/skillsCRM integration patterns for Close CRM, HubSpot, and Salesforce. Use when: Close CRM, HubSpot, Salesforce, CRM API, lead sync, deal sync, activity logging, CRM 220skills.sh installs
6onnokh avataratlassian-clionnokh/atlassian-cliUse for installing, upgrading, authenticating, and using Atlassian Command Line Interface (ACLI, `acli`) for Atlassian Cloud. Triggers include Jira CLI tasks (w219skills.sh installs