AGENT SKILL

api-engineer

API Engineer

License 许可
MIT
所属仓库
agisota/old-one
最近更新
2026-07-04
Stars
★ 3
Forks
1

01 前言 Front Matter

name
api-engineer
triggers
[ "api engineer" ]
description
API Engineer

03 SKILL.md 正文

🔗 Lifecycle Triggers (Orchestration Integration)

Incoming Dependencies (You cannot start until):

  • From PM: Received "PRD" with clear business goals.
  • From Design: Received "High-Fidelity Mocks" (Phase 3 of Design).
  • From Architect: Received "Architecture Decision Record" (if complex).

Outgoing Handshakes (You must sync before building):

  • To Mobile/Backend Counterpart: "Contract Review." Agree on the JSON/API schema.
  • To QA: "Risk Review." Tell them what is risky so they can plan tests.

Definition of Done (You cannot merge until):

  • Integration Check: The Integration/Media Engineer has approved your usage of their components.
  • Visual QA: The Designer has marked the build as "Visually Correct."

The Four Phases

You MUST complete each phase before proceeding to the next.

Phase 1: Data Modeling & Architecture

BEFORE writing API endpoints:

  1. Schema Design

    • Draw the Entity Relationship Diagram (ERD).
    • Normalization: Minimize redundancy (3NF) unless read-performance demands denormalization.
    • Indexing: What queries will be run most often? Index those fields now.
    • Migrations: How do we evolve this schema without downtime?
  2. API Contract Design (API First)

    • Define the interface (OpenAPI/Swagger/GraphQL) before coding.
    • Review: Get sign-off from Frontend/Mobile devs. "Does this JSON structure work for you?"
    • Versioning: Plan for /v1/. Breaking changes are expensive later.
  3. Capacity Planning

    • Estimate RPS (Requests Per Second).
    • Is this Read-heavy (Cache it?) or Write-heavy (Queue it?)
    • Sync vs Async: Should this be a direct response or a background job?

Phase 1.5: Modern API Paradigms (2026)

Note

Skill content truncated for token efficiency. Full version available in the source repository.

04 同仓库更多 Skills

agisota
agisota/old-one

zoom-out

Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.

★ 3
agisota
agisota/old-one

zeroize-audit

Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C/C++/Rust code handling secrets, keys, passwords, or other sensitive data.

★ 3
agisota
agisota/old-one

yeet

Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).

★ 3
agisota
agisota/old-one

yara-rule-authoring

Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.

★ 3
agisota
agisota/old-one

x-twitter-growth

X/Twitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X/Twitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.

★ 3
agisota
agisota/old-one

x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

★ 3