Λογότυπο Api Integration

Api Integration

Κοινότητα
LuckyOneTwoThree
api-integration

Use when integrating frontend with backend APIs. Auto-generates frontend request layer code from API contracts, including type-safe API clients, request/response interceptors, error handling, and mock data. Keywords: API integration, interface debugging, request layer, API client, frontend-backend integration, connect API, call API.

Επισκόπηση

ΕκδότηςLuckyOneTwoThree
Αποθετήριοvibe-skill
Όνομα δεξιότηταςapi-integration
Αστέρια
34
Forks
8
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από LuckyOneTwoThree στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Api Integration στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/api-integration
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LuckyOneTwoThree/vibe-skill.git /tmp/vibe-skill
mkdir -p .claude/skills
cp -r /tmp/vibe-skill/.codex/skills/api-integration .claude/skills/api-integration
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Api Integration σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Api Integration μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Api Integration δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

API Integration Auto-Generation

Engineering Delivery Boundary

Follow Engineering Boundary Protocol.

  1. Project first: inspect existing framework, router, state management, component library, styling, API client, and test stack before writing code; inherit by default.
  2. Design-system first: existing design system, component library, and brand rules override visual_policy unless the user explicitly asks to change them.
  3. Write scope: declare target directories and files before implementation; do not overwrite unrelated user code.
  4. Responsive acceptance: check desktop/mobile layout, text overflow, cramped controls, nested cards, accessibility basics, and design-token consistency.
  5. Verification record: report created/modified files, checks run, checks that could not run, and residual risks.

Code Write Boundary

Follow Engineering Boundary Protocol.

  1. Scan first: identify existing HTTP client, API directory structure, authentication mechanism, and data fetching library before writing code; inherit by default.
  2. Target scope: declare target directories and files before implementation; generated code must stay inside {project_dir}/src/api/ unless integration files are explicitly required.
  3. No overwrite: preserve existing API functions, type definitions, and mock data unless the user explicitly asks for replacement; when replacing page-builder fallback, maintain function signatures.
  4. Type safety: all request parameters and responses must have TypeScript types derived from API contracts; zero any types.
  5. Fallback replacement: when replacing page-builder fallback data layer, preserve type definitions (types.ts), only replace data fetch functions and mock data.
  6. Implementation report: list created/modified files, skipped files, checks run, failed checks, and residual risks.

Core Principles

  1. Contract-Driven -- API client code auto-generated from contracts, no hand-written request functions. When contracts are missing, infer from page data flows, but inference results must be human-confirmed
  2. Type Safety -- Request parameters and response types 100% derived from contracts, zero any types
  3. Defensive Programming -- Every API call has error handling, timeout, and retry; error handling strategy defined in layers
  4. Built-in Authentication -- Token management, refresh, expiration handling as infrastructure, never missed
  5. Developer Experience -- Mock data auto-generated, frontend and backend can develop in parallel, one-click switch between mock and real APIs

Interaction Mode

AI->Human AI suggests, human confirms

Input

Input ItemTypeRequiredSourceDescription
API ContractYAML/JSONOoutput/backend-api-design/api-design-spec/openapi.yamlOpenAPI 3.0 specification (infer from page data flows when missing)
Authentication SchemeJSONOoutput/backend-api-design/api-design-spec/auth-scheme.jsonBackend API authentication design (JWT/OAuth2/SSO scheme, permission model, session management), takes priority over PRD non-functional requirements
Security PolicyJSONOoutput/backend-api-design/api-design-spec/security-policy.jsonBackend API security policy (rate limiting rules, CORS policy, data masking rules), for frontend error handling and security policy alignment
Page Data FlowsJSONYesoutput/ui-frontend/page-builder/pages.jsonPage data fetching requirements
Target FrameworkstringYesPassed from upstream orchestratorReact/Vue/Svelte
Target LanguagestringOPassed from upstream orchestrator (default zh-CN)Target interface language, affects mock data and error message language
project_dirstringYesPassed from upstream orchestratorProject root directory absolute path
Auth SchemestringOPRD non-functional requirements / User providedJWT/OAuth2/Cookie/ApiKey (default JWT), used when auth-scheme.json is unavailable

Execution Steps

Step 1: API Contract Parsing and Endpoint Planning

1a. Contract Parsing

If API contract input exists:

  1. Parse OpenAPI/Swagger specification, extract all endpoints (method/path/parameters/requestBody/responses)
  2. Extract authentication schemes (security schemes)
  3. Extract common error code definitions
  4. Mark deprecated endpoints

If API contract is missing:

  1. Infer API endpoints from pages.json data_flow fields
  2. Inference rule: each data_flow source corresponds to one API endpoint
  3. Inferred endpoints marked with inferred: true
  4. Generate inference report, requires human confirmation

1b. Endpoint Classification and Directory Planning

Classification RuleDirectory StructureExample
By domain modulesrc/api/{module}/src/api/auth/, src/api/user/, src/api/product/
Common endpointssrc/api/shared/Health check, config endpoints
Endpoints <=5Single file src/api/index.tsSmall projects without module separation

1c. Authentication Scheme Planning

Auth TypeImplementation StrategyToken Storage
JWTAxios interceptor auto-inject Authorization headerlocalStorage + memory cache
OAuth2Authorization code flow + PKCElocalStorage + memory cache
CookiewithCredentials configurationBrowser auto-managed
ApiKeyRequest header/query parameter injectionEnvironment variables

Token refresh strategy:

  • Auto-refresh 5 minutes before expiration (based on exp claim)
  • Refresh failure -> redirect to login page
  • Concurrent requests queue while refresh is in progress

Step 2: API Client Code Generation

2a. Type Definition Generation

Derive TypeScript types from contract schema:

typescript
type {Endpoint}Request = { /* derived from requestBody */ }
type {Endpoint}Response = { /* derived from 200 response schema */ }
type {Endpoint}Error = { /* derived from 4xx/5xx response schema */ }

type ApiResponse<T> = { code: number; data: T; message: string }
type PaginatedResponse<T> = { items: T[]; total: number; page: number; page_size: number }

2b. Request Function Generation

Generate one request function per endpoint:

typescript
export async function {endpointName}(params: {Endpoint}Request, config?: RequestConfig): Promise<{Endpoint}Response> {
  return request.{method}<{Endpoint}Response>('{path}', params, config)
}

Generation rules:

  • GET request parameters mapped as query parameters
  • POST/PUT/PATCH request parameters mapped as request body
  • Path parameters (e.g. /users/{id}) extracted from params
  • Each function includes JSDoc comments (extracted from contract description/summary)

2c. Request Layer Infrastructure

InfrastructureImplementation Content
HTTP ClientAxios instance (React/Vue) or fetch wrapper (Svelte)
Request InterceptorToken injection + request ID + timestamp + request body serialization
Response InterceptorUnified error handling + token expiration auto-refresh + response unwrapping
Error HandlingNetwork error/timeout(10s)/business error/auth expiration layered handling
Retry StrategyNetwork errors and 5xx retry 2 times, exponential backoff (1s/2s)
Cancellation MechanismAbortController wrapper, auto-cancel on page unmount
Request DeduplicationMerge concurrent requests with same URL+parameters

2d. Error Handling Strategy

Error TypeHandling MethodUser Feedback
Network errorRetry 2 times -> prompt network exception"Network connection error, please check your network and retry"
Timeout (>10s)Retry 1 time -> prompt response timeout"Request timed out, please try again later"
401 UnauthorizedAttempt token refresh -> redirect to loginAuto-redirect to login page
403 ForbiddenPrompt no permission"You do not have permission to perform this action"
404 Not FoundPrompt resource not found"Requested resource not found"
422 Validation FailedExtract field errorsDisplay specific field error messages
429 Rate LimitedWait then retry"Too many requests, please try again later"
5xx Server ErrorRetry 2 times -> prompt server exception"Server error, please try again later"

Step 3: Mock Data and Parallel Development

3a. Mock Data Generation

Generate mock data from contract response schema:

  • String type: Infer content from field name (name->"John Doe", email->"test@example.com")
  • Number type: Generate based on range constraints, use reasonable defaults when no constraints
  • Array type: Generate 3-5 records
  • Nested objects: Generate recursively
  • Enum type: Randomly select one value
  • When target language != en-US, mock data uses target language content

3b. Mock Switch Mechanism

typescript
export const useMock = import.meta.env.VITE_API_MOCK === 'true'

export async function getUser(id: string) {
  if (useMock) return mockData.user
  return request.get(`/users/${id}`)
}

3c. MSW Integration (Recommended)

Generate MSW (Mock Service Worker) handlers:

  • One handler per endpoint
  • Support request parameter matching
  • Support delay simulation (200-500ms random delay)
  • Support error scenario simulation (5% probability of returning 500 error)

Step 4: Data Layer Integration and Cache Strategy

4a. Data Preloading Configuration

FrameworkSolutionConfiguration
ReactReact Query (TanStack Query)staleTime/cacheTime/refetchOnWindowFocus
VueVue Query (TanStack Query)staleTime/cacheTime/refetchOnWindowFocus
Sveltesvelte-querystaleTime/cacheTime/refetchOnWindowFocus

4b. Cache Strategy

Data TypestaleTimecacheTimeRefetch Strategy
User info5min30minWindow focus
List data2min10minWindow focus
Detail data10min30minNo auto-refresh
Config data30min60minNo auto-refresh
Realtime data05minPolling (5s)

4c. Optimistic Update Configuration

Generate optimistic update configuration for write operations (POST/PUT/PATCH):

  • Update operations: Immediately update cache, rollback on failure
  • Delete operations: Immediately remove from cache, restore on failure
  • Create operations: Immediately add to cache (temporary ID), replace with real ID on success

4d. Replace page-builder Fallback Data Layer

When api-integration executes, replace page-builder generated fallback data layer:

  1. Locate all files annotated with @api-integration
  2. Replace fallback functions with api-integration generated request functions
  3. Keep function signatures consistent (page-builder fallback signatures aligned with api-integration request function signatures)
  4. Delete no-longer-needed mock data files
  5. Verify page functionality after replacement

Output

Code File Output: {project_dir}/src/api/ (API client, type definitions, mock data directly written to project directory)

Metadata Output: output/ui-frontend-integration/api-integration/

Output Files: api-integration.json

Output Schema:

json
{
  "type": "object",
  "required": ["endpoints", "types", "mock_data", "auth_config", "cache_config", "error_handling", "project_dir"],
  "properties": {
    "endpoints": {
      "type": "array",
      "description": "API endpoint list",
      "items": {
        "type": "object",
        "properties": {
          "name": {"type": "string", "description": "Function name"},
          "method": {"type": "string", "enum": ["GET","POST","PUT","PATCH","DELETE"]},
          "path": {"type": "string", "description": "API path"},
          "request_type": {"type": "string", "description": "Request type name"},
          "response_type": {"type": "string", "description": "Response type name"},
          "module": {"type": "string", "description": "Module"},
          "inferred": {"type": "boolean", "description": "Whether inferred endpoint"},
          "deprecated": {"type": "boolean", "description": "Whether deprecated"}
        }
      }
    },
    "types": {
      "type": "array",
      "description": "TypeScript type definition file list",
      "items": {
        "type": "object",
        "properties": {
          "file_path": {"type": "string", "description": "Type file path"},
          "type_count": {"type": "number", "description": "Number of defined types"},
          "endpoints_covered": {"type": "array", "description": "Covered endpoint list"}
        }
      }
    },
    "mock_data": {
      "type": "array",
      "description": "Mock data file list",
      "items": {
        "type": "object",
        "properties": {
          "file_path": {"type": "string", "description": "Mock data file path"},
          "endpoint": {"type": "string", "description": "Corresponding endpoint"},
          "record_count": {"type": "number", "description": "Mock data record count"}
        }
      }
    },
    "auth_config": {
      "type": "object",
      "description": "Authentication configuration",
      "properties": {
        "type": {"type": "string", "enum": ["JWT","OAuth2","Cookie","ApiKey","None"]},
        "token_storage": {"type": "string", "description": "Token storage method"},
        "refresh_enabled": {"type": "boolean", "description": "Whether auto-refresh is enabled"},
        "login_redirect": {"type": "string", "description": "Unauthorized redirect path"}
      }
    },
    "cache_config": {
      "type": "object",
      "description": "Cache strategy configuration",
      "properties": {
        "library": {"type": "string", "description": "Data request library"},
        "strategies": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "data_type": {"type": "string", "description": "Data type (user_info/list_data/detail_data/config_data/realtime_data)"},
              "stale_time": {"type": "string", "description": "Data freshness time"},
              "cache_time": {"type": "string", "description": "Cache retention time"},
              "refetch_strategy": {"type": "string", "description": "Refetch strategy (window_focus/polling/none)"}
            }
          }
        }
      }
    },
    "error_handling": {
      "type": "object",
      "description": "Error handling configuration",
      "properties": {
        "timeout_ms": {"type": "number", "description": "Request timeout (ms)"},
        "retry_count": {"type": "number", "description": "Retry count"},
        "retry_delay_ms": {"type": "number", "description": "Retry delay (ms)"},
        "error_codes_mapped": {"type": "number", "description": "Number of mapped error codes"},
        "error_strategies": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "error_type": {"type": "string", "description": "Error type (network/timeout/401/403/404/422/429/5xx)"},
              "handling": {"type": "string", "description": "Handling method"},
              "user_feedback": {"type": "string", "description": "User feedback text"}
            }
          }
        }
      }
    },
    "project_dir": {"type": "string", "description": "Project root directory path"}
  }
}

Decision Rules

ConditionDecision
Target framework = ReactUse React Query + axios
Target framework = VueUse Vue Query + axios
Target framework = SvelteUse svelte-query + fetch wrapper
API endpoints >20Split files by domain module
Has pagination interfacesGenerate generic pagination Hook
Has file upload interfacesGenerate progress callback wrapper
Target language != en-USMock data uses target language content
Auth scheme = JWTAuto-generate token refresh interceptor
Auth scheme missingDefault JWT, mark as "auth scheme pending confirmation"
Inferred endpoints >50%Mark as "high inference ratio, recommend supplementing API contract"

Quality Checks

P0 (Must pass, blocks output if not):

  • 100% of API endpoints have corresponding request functions
  • 100% of request parameters and responses have TypeScript types (zero any)
  • Authentication scheme configured (token injection + refresh + expiration handling)
  • Interceptor configuration complete (token injection + error handling + response unwrapping)
  • API code quality audit score >=70 (called by orchestrator via ext-impeccable audit)

P1 (Recommended, mark as "pending fix" if not):

  • Every API call has error handling and timeout configuration
  • Mock data covers all endpoints
  • Cache strategy configured (at least 3 data types)
  • Optimistic updates configured (write operations)
  • Inferred endpoints human-confirmed

Degradation Strategy

Missing Upstream InputDegradation PlanOutput Impact
API contract missingInfer API requirements from page data flows, inferred endpoints marked inferred:trueAPI functions are skeletons, need human confirmation to supplement contract details
Page data flows missingGenerate independent functions for all API endpoints, no page-level preloadingMissing page-level data preloading and cache configuration
Auth scheme missingDefault JWT scheme, mark as "auth scheme pending confirmation"Token refresh logic may need adjustment
Security policy missingSkip security policy alignment, mark as "pending security policy supplement"CORS/rate limiting and other frontend security policies not aligned
project_dir missingOutput to output/ directory onlyCode needs manual copying

Upstream Change Response

Upstream Change Impact Table

Upstream ChangeImpact ScopeResponse Strategy
API contract change (endpoint add/remove/parameter change/response structure change/auth scheme change)Request functions, type definitions, mock data, auth configurationMark affected endpoints and types, recommend regenerating corresponding request functions, mock data, and auth interceptors
Page data flow change (data fetching method/cache strategy change)Data preloading configuration, cache strategy, request deduplicationMark affected page data flows, recommend updating React Query/Vue Query/svelte-query configuration
Target framework changeRequest layer technology selection (React Query/Vue Query/svelte-query)Mark data request layer solution needing replacement, recommend regenerating
Auth scheme changeToken injection/refresh/expiration handling logicMark auth interceptor needing replacement, recommend regenerating auth infrastructure

Downstream Notification Mechanism Table

This Skill Output ChangeNotify Downstream SkillNotification ContentTrigger Condition
API endpoint add/removeproduction-readyAffected tests and build configurationendpoints list change
Type definition changeproduction-readyAffected type-related teststypes structure change
Mock data changeproduction-readyAffected test mocksmock_data file change
Request layer technology selection changeproduction-readyDependency and build configuration changeTarget framework or request library change
Auth configuration changeproduction-readyAuth-related test and dependency changeauth_config change
Cache strategy changeproduction-readyData layer related test changecache_config change
Error handling changeproduction-readyError handling related test changeerror_handling change

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Api Integration;

Use when integrating frontend with backend APIs. Auto-generates frontend request layer code from API contracts, including type-safe API clients, request/response interceptors, error handling, and mock data. Keywords: API integration, interface debugging, request layer, API client, frontend-backend integration, connect API, call API.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Api Integration στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Api Integration είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Api Integration στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/api-integration. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Api Integration;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Api Integration;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Api Integration με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Api Integration;

Ναι. Δημοσιεύεται στο GitHub από τον χρήστη LuckyOneTwoThree με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇