- Home
- Skills
- Frontend & Web Apps
- full stack engineer
Works with the AI Agents you already use
full stack engineer
by lyu zhenjun
Get web stack recommendations, architecture plans, code reviews, and complete starter project files.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
full stack engineer
Example session with this skill installed
Write a typed Python helper to validate a page size from a query string. Default to 20, allow 1-100, and include usage and test ideas.
- Read your context and instructions
- Compiled the full stack engineer
Routing this to Capability 4 — Code Generation. Requirements are clear enough to proceed without clarification.
Approach
Query-string values are untrusted strings: they may be missing, empty, non-numeric, or out of range, so the helper treats "parse, then bound" as one operation. Stated assumptions: a missing or unparsable value falls back to the default (20), while a valid integer outside the allowed range is clamped into [1, 100] — this keeps list endpoints forgiving instead of erroring on sloppy clients. Bounds and default are parameters so the same helper serves endpoints with different limits.
Code
Python
pagination.py
DEFAULT_PAGE_SIZE = 20
MIN_PAGE_SIZE = 1
MAX_PAGE_SIZE = 100
def parse_page_size(
raw: str | None,
*,
default: int = DEFAULT_PAGE_SIZE,
min_size: int = MIN_PAGE_SIZE,
max_size: int = MAX_PAGE_SIZE,
) -> int:
"""Validate a page-size value coming from a query string.
Args
raw: The raw query-string value (e.g. request.args.get("page_size")).
default: Fallback when raw is missing or not a valid integer.
min_size: Smallest allowed page size (inclusive).
max_size: Largest allowed page size (inclusive).
Returns
An integer page size guaranteed to be within [min_size, max_size].
"""
if raw is None:
return default
try:
# int() rejects floats ("20.5"), hex ("0x14"), and blanks — exactly
# what we want for a query-string boundary.
value = int(raw.strip())
except (ValueError, AttributeError):
return default
return max(min_size, min(value, max_size))
Static self-check: no imports needed (builtins only); all variables defined; str | None requires Python 3.10+ — on 3.9 use Optional[str] from typing instead. AttributeError is caught defensively in case a non-string slips through (e.g. an int from a test). Everything else is verifiable statically.
Usage
Python
from pagination import parse_page_size
Flask
from flask import request
@app.get("/users")
def list_users():
page_size = parse_page_size(request.args.get("page_size"))
# ... paginate with page_size
FastAPI
from fastapi import FastAPI, Request
app = FastAPI()
@app.get("/users")
def list_users(request: Request):
page_size = parse_page_size(request.query_params.get("page_size"))
# ... paginate with page_size
Testing Suggestions
parse_page_size(None) == 20 — missing parameter.
parse_page_size("50") == 50 — happy path.
parse_page_size("0") == 1 and parse_page_size("101") == 100 — clamping at both bounds.
Trickiest case — junk input never raises:
Python
import pytest
@pytest.mark.parametrize("junk", ["", "abc", "20.5", " ", "-7x"])
def test_junk_falls_back_to_default(junk):
assert parse_page_size(junk) == 20
parse_page_size("-5") == 1 — negative integers are valid syntax but clamped up.
Paste the fixed version back anytime and I'll re-review it. Note: framework APIs evolve — verify against the latest official docs (recommendations reflect best practices as of my knowledge cutoff).
Subscription · always the latest version
- Secure checkout via Stripe
- Cancel anytime
- Delivered live via MCP
About this skill
Choosing a web stack, planning a backend, and fixing code can stall a project before it ships. Get practical recommendations, complete code, and starter projects for common web technologies.
What it does
- Stack selection: Compares options and recommends one based on your team, features, and constraints.
- Architecture planning: Maps application layers, data flows, and API endpoints without adding unnecessary complexity.
- Code review: Identifies issues by severity, explains their impact, and supplies fixes for serious problems.
- Code generation: Writes complete functions and modules with error handling, usage examples, and testing suggestions.
- Project scaffolding: Produces starter files, configuration, example modules, and local run instructions.
How it works
- Describe your web project, request a specific component, or paste code for review.
- Share your stack and constraints, or ask for help choosing them.
- Receive the recommendation, design, code, or project files.
- Request changes or submit updated code for another review.
Works with
Vue 3 and React frontends, Node.js and Python backends, and MySQL, PostgreSQL, MongoDB, and Redis data stores.
Why use this skill
Spend less time assembling boilerplate and comparing frameworks without a decision. Reviews point to specific code locations, while starter projects include configuration and documentation alongside application code.
Use cases
- Choose a framework for a small team's dashboard.
- Plan the backend for a booking MVP.
- Review an API before merging changes.
- Start a Vue 3 and FastAPI project.
Known limitations
Code is not executed. Native mobile and desktop development are outside its focus. Deployment guidance covers principles rather than provider-specific setup.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 2 months ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in Frontend & Web Apps
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.