SkillAgentSearch skills...

add-api

A modern family management application built with Flutter, featuring real-time location tracking, meal monitoring, mood sharing, and a family social wall.

Install / Use

npx skills add Youssef-Salem-Hassan/Family-Link

Installs into whichever agent you are using.

About this skill
⚡

Claude Commands

Claude Code slash commands

Quality Score

59/100

Category

Operations

Supported Platforms

Claude Code

Our assessment of add-api

add-api scores 59/100 on our quality scale, 717th of 754 Operations skills we index.

Its Claude Commands is 2.8 KB long, well organised into 13 sections and no code examples: a solid amount of guidance for an agent.

It has no GitHub stars yet, so there is no community track record; judge it on its content.

Substance
26/30
Structure
13/20
Description
15/15
Adoption
0/20
Freshness
5/15

Maintenance, license and trust

  • We could not determine when the repository was last updated.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-10-13. Automated pattern scan on 2026-10-13. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

add-api compared with similar skills

All 4 of these similar skills score higher than add-api; compare them before choosing.

SkillScoreStarsUpdatedFormat
add-api (this skill)by Youssef-Salem-Hassan590—Claude Commands
claude-memby thedotmack100100.2ktodayCLAUDE.md
Agent-Reachby Panniantong10096.7k4d agoCLAUDE.md
Understand-Anythingby Egonex-AI10086.1ktodayCLAUDE.md
headroomby headroomlabs-ai10075.2ktodayCLAUDE.md

Frequently asked questions

How do I install add-api?
Run npx skills add Youssef-Salem-Hassan/Family-Link. The install tabs above show the steps for each supported agent.
Which AI agents does add-api work with?
It is written for Claude Code, as a Claude Commands file. Other agents that read the same format can often use it too.
Is add-api safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is add-api still maintained?
We could not determine when the repository was last updated.

Add New API Endpoint

Connect a new backend endpoint end-to-end through all Clean Architecture layers.

When to Use

  • User asks to integrate a new API endpoint
  • User says "add API", "connect endpoint", "call backend"
  • A new HTTP call needs to be added to an existing or new feature

Instructions

Family-Link is Firebase-first — see tech_readme_files/1_getting_started/PROJECT_ARCHITECTURE.md for repository patterns; use .cursor/skills/add-api/SKILL.md for the Cursor-native skill text.

Step 1 — Define Endpoint

In lib/core/api/api_endpoints.dart:

Static: static const String name = '/path'; Dynamic: static String name(int id) => '/path/$id';

Conventions:

  • Group related endpoints under comment banners
  • Paths do NOT include base URL or /api/v1 prefix

Step 2 — Add HTTP Call to Data Source

In the feature's data/datasources/*_remote_datasource.dart:

  • Add method to abstract class
  • Implement using ApiClient (get, post, put, patch, delete, uploadFile)
  • Parse response with ApiResponse.fromJson()
  • Return model(s)

Step 3 — Add/Update Model

If the API returns a new data shape:

  • Create or update data/models/*_model.dart
  • Extend entity, add fromJson/toJson
  • Map backend snake_case keys

Step 4 — Update Domain Contract

Add method signature to abstract repository:

  • Return type: Future<Either<Failure, T>>

Step 5 — Implement in Repository

In data/repositories/*_repository_impl.dart:

  • Wrap in try/catch
  • Map exceptions to failures (Auth, Network, Server, Unexpected)

Step 6 — Create Use Case

New file: domain/usecases/<action>_usecase.dart

  • Extend UseCase<ReturnType, Params>
  • Single responsibility

Step 7 — Wire into BLoC

  • Add event class
  • Add handler method
  • Add state if needed
  • For reads: wrap the fetch with CachePolicy.evaluate(cachedAt: ...) — return cached data if fresh/stale, only call API when stale (background) or expired
  • For writes: check ConnectivityCubit state first; if offline, enqueue via OfflineQueue and emit an optimistic state instead of calling the API

Step 8 — Register in DI

In injection_container.dart:

  • Register new use case as registerLazySingleton
  • Update BLoC factory to inject new use case

API Response Reference

Success: { "success": true, "message": "...", "data": ..., "pagination": {...} } Error: { "success": false, "message": "...", "errors": {} } Validation (422): { "message": "...", "errors": { "field": ["msg"] } }

ApiClient Methods

| Method | Signature | |--------|-----------| | GET | apiClient.get(path, {queryParameters}) | | POST | apiClient.post(path, {data}) | | PUT | apiClient.put(path, {data}) | | PATCH | apiClient.patch(path, {data}) | | DELETE | apiClient.delete(path) | | Upload | apiClient.uploadFile(path, {file, fieldName, data}) |

Related Skills

View on GitHub
GitHub Stars0
CategoryOperations
UpdatedNaNy ago
Forks0

Trust signals

68/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

2 medium1 low