api-sync
Skill1 starsChanged 3 months agoMITView on GitHub
API documentation synchronization skill for FlowMind. Sync API definitions, generate documentation, and maintain API consistency.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- onegunsamurai/OpenLearningtheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- onegunsamurai/OpenLearning★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- archive-changeSkill
- auto-flowSkill
- build-reportSkill
- change-impact-reviewSkill
- code-review-auditSkill
- code-reviewSkill
- coverage-reportSkill
- data-logic-validationSkill
- data-risk-auditSkill
- data-validationSkill
- dingtalk-notifySkill
- git-reviewSkill
- knowledge-opsSkill
- learning-engineSkill
- learning-feedbackSkill
- log-auditSkill
- offline-design-analysisSkill
- project-reviewSkill
- release-inspectionSkill
- report-insightsSkill
- requirement-analystSkill
- resource-bindSkill
- service-governance-auditSkill
- service-governance-changeSkill
- service-governance-diagnosisSkill
- service-management-log-analysisSkill
- sls-log-auditSkill
- test-reportSkill
- yapi-sync-interfaceSkill
- yuque-sync-designSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Create OpenAPI/Swagger specs
- Distinctive: line 169
Only syncs changed endpoints.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Sync Skill
Sync API definitions, generate documentation, and maintain API consistency.
Features
📚 Documentation Generation
- Generate from code annotations
- Create OpenAPI/Swagger specs
- Generate Markdown docs
- Create client SDKs
🔄 Synchronization
- Sync to API platforms
- Update documentation
- Version management
- Change tracking
✅ Validation
- Schema validation
- Breaking change detection
- Backward compatibility
- Style guide compliance
Trigger Patterns
"API文档", "API documentation", "API docs"
"接口同步", "sync API", "接口文档"
"Swagger", "OpenAPI"
"API管理", "API management"Output Format
┌─────────────────────────────────────────────────────┐
│ API Sync Report │
├─────────────────────────────────────────────────────┤
│ Platform: {platform} │
│ Project: {project} │
├─────────────────────────────────────────────────────┤
│ Endpoints: {count} │
│ • Added: {added} │
│ • Updated: {updated} │
│ • Deleted: {deleted} │
├─────────────────────────────────────────────────────┤
│ Status: ✓ Synced Successfully │
│ URL: {docs_url} │
└─────────────────────────────────────────────────────┘Supported Platforms
| Platform | Status | Features |
| YApi | ✅ | Full support |
| Swagger Hub | ✅ | Full support |
| Postman | ✅ | Collections |
| Stoplight | 🚧 | Coming soon |
| ReadMe | 🚧 | Coming soon |
Learning Integration
This skill supports FlowMind learning:
- Platform: Learns preferred API platform
- Format: Learns preferred doc format
- Sync Rules: Learns what to sync
User: "同步到 YApi"
FlowMind: ✓ Learned: Sync APIs to YApi
User: [Next sync]
FlowMind: [Syncs to YApi automatically]Examples
Example 1: Generate API Docs
User: 生成这个 Controller 的 API 文档
FlowMind:
┌─────────────────────────────────────────────────────┐
│ API Documentation Generated │
├─────────────────────────────────────────────────────┤
│ Source: src/controllers/UserController.java │
│ Endpoints: 5 │
├─────────────────────────────────────────────────────┤
│ GET /api/users - List users │
│ GET /api/users/{id} - Get user │
│ POST /api/users - Create user │
│ PUT /api/users/{id} - Update user │
│ DELETE /api/users/{id} - Delete user │
├─────────────────────────────────────────────────────┤
│ Output: docs/api/users.md │
└─────────────────────────────────────────────────────┘Example 2: Sync to Platform
User: 同步接口到 YApi
FlowMind:
┌─────────────────────────────────────────────────────┐
│ API Sync Complete │
├─────────────────────────────────────────────────────┤
│ Platform: YApi │
│ Project: My Project │
├─────────────────────────────────────────────────────┤
│ Synced: │
│ • Added: 2 endpoints │
│ • Updated: 3 endpoints │
│ • Unchanged: 10 endpoints │
├─────────────────────────────────────────────────────┤
│ View at: http://yapi.example.com/project/123 │
└─────────────────────────────────────────────────────┘Configuration
{
"api-sync": {
"platform": "yapi",
"connection": {
"host": "http://yapi.example.com",
"projectId": "123",
"token": "your-token"
},
"options": {
"autoSync": true,
"generateDocs": true,
"validateSchema": true
}
}
}Sync Modes
Full Sync
flowmind api-sync --fullSyncs all endpoints, overwriting remote changes.
Incremental Sync
flowmind api-sync --incrementalOnly syncs changed endpoints.
Dry Run
flowmind api-sync --dry-runShows what would be synced without making changes.
Custom Templates
Markdown Template
{
"api-sync": {
"templates": {
"markdown": "templates/api-doc.md"
}
}
}OpenAPI Template
{
"api-sync": {
"templates": {
"openapi": "templates/openapi.yaml"
}
}
}Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

