Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

fluent-community

БесплатноБез исполняемых скриптовНе проверен

Use when pushing content, docs, posts, changelogs, or other updates to Fluent Community spaces through the Fluent Community REST API.

wpgauravот wpgaurav★ 24 звезды на GitHub

Об этом скилле

Fluent Community REST API

Push content (docs, posts, changelogs) to Fluent Community spaces on your-site.com.

Authentication

Basic Auth using credentials from ~/.env:

GA_WORDPRESS_URL = https://your-site.com
GA_USERNAME = your-username
GA_APPLICATION_PASSWORD = your-app-password

With curl: -u '$GA_USERNAME:$GA_APPLICATION_PASSWORD'

With Python urllib:

import base64
AUTH = base64.b64encode(b'your-username:your-app-password').decode()
req.add_header('Authorization', f'Basic {AUTH}')

Base URL

https://your-site.com/wp-json/fluent-community/v2

Endpoints

List Spaces

GET /spaces?per_page=50

Returns { "spaces": [ { "id", "title", "slug", "parent_id", "privacy", "status", "settings", ... } ] }

Get Space by Slug

GET /spaces/{slug}/by-slug

Returns { "space": { ... }, "permissions": { "can_create_post": true, ... } }

Join a Space

POST /spaces/{slug}/join

The authenticated user must be a member of a space to post in it.

Create a Feed/Post

POST /feeds

Parameters (form-encoded, use --data-urlencode):

  • title (string) - Post title
  • message (string, required) - Post content (markdown, HTML, or plain text)
  • space (string, required) - Space slug (NOT space_id)
  • content_type (string) - text, markdown, or html. Default: text
  • privacy (string) - public or private. Default: public
  • status (string) - published or draft. Default: published
  • featured_image (string) - Featured image URL
  • scheduled_at (datetime) - Schedule publication time

CRITICAL: Use space (slug) not space_id (numeric). Using space_id returns "Please select a valid space to post in."

curl example:

curl -s -X POST 'https://your-site.com/wp-json/fluent-community/v2/feeds' \
  -u 'your-username:your-app-password' \
  --data-urlencode 'title=My Post Title' \
  --data-urlencode 'message=Post content in markdown' \
  --data-urlencode 'content_type=markdown' \
  --data-urlencode 'space=core-forms-docs'

Python example (recommended for bulk operations):

import json, urllib.request, urllib.parse, base64

AUTH = base64.b64encode(b'your-username:your-app-password').decode()
API = 'https://your-site.com/wp-json/fluent-community/v2/feeds'

data = urllib.parse.urlencode({
    'title': 'Post Title',
    'message': content,
    'space': 'space-slug-here',
}).encode()

req = urllib.request.Request(API, data=data, method='POST')
req.add_header('Authorization', f'Basic {AUTH}')
resp = urllib.request.urlopen(req)
result = json.loads(resp.read())
feed_id = result['feed']['id']

For large content files:

curl -s -X POST "$API" \
  -u "$AUTH" \
  --data-urlencode "title=Large Doc" \
  --data-urlencode "space=space-slug" \
  --data-urlencode "message@/tmp/content.txt"

Response:

{
  "feed": {
    "id": 85,
    "title": "My Post",
    "slug": "my-post",
    "message": "...",
    "content_type": "markdown",
    "space_id": "17",
    "status": "published",
    "permalink": "https://your-site.com/circle/space/core-forms-docs/post/my-post"
  },
  "message": "Your post has been published"
}

Update a Feed/Post

POST /feeds/{feed_id}
PATCH /feeds/{feed_id}

Delete a Feed/Post

DELETE /feeds/{feed_id}

Returns { "message": "Feed has been deleted successfully" }

Create a Space

POST /spaces

Uses space[field] syntax:

curl -s -X POST "$API/spaces" \
  -u "$AUTH" \
  --data-urlencode 'space[title]=My Space' \
  --data-urlencode 'space[slug]=my-space' \
  --data-urlencode 'space[description]=Description here' \
  --data-urlencode 'space[privacy]=public'

Update a Space

PUT /spaces/{slug}/by-slug
PUT /spaces/{id}/by-id

Note: Space settings (restricted_post_only, default_post_sort_by, show_sidebar) may need to be updated via the Fluent Community admin panel rather than the API.

Known Spaces

  • Core Forms (ID 8, slug: core-forms) - Discussion space
  • Core Forms Docs (ID 17, slug: core-forms-docs) - Documentation
  • Functionalities (ID 9, slug: functionalities) - Discussion
  • Functionalities Docs (ID 18, slug: functionalities-docs) - Documentation
  • GT Link Manager (ID 12, slug: gt-link-manager) - Discussion
  • GT Link Manager Docs (ID 21, slug: gt-link-manager-docs) - Documentation
  • GT ACF Blocks Plugin (ID 10, slug: gt-acf-blocks-plugin) - Discussion
  • GT ACF Blocks Plugin Docs (ID 19, slug: gt-acf-blocks-plugin-docs) - Documentation
  • GT Page Blocks Builder (ID 13, slug: gt-page-blocks-builder) - Discussion
  • GT Page Blocks Builder Docs (ID 22, slug: gt-page-blocks-builder-docs) - Documentation
  • GT Extensions for FluentCart (ID 11, slug: gt-extensions-for-fluentcart) - Discussion
  • GT Extensions for FluentCart Docs (ID 20, slug: gt-extensions-for-fluentcart-docs) - Documentation
  • Dynamic Month & Year into Posts
Полный SKILL.md на GitHub

Установить fluent-community в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл fluent-community?

Use when pushing content, docs, posts, changelogs, or other updates to Fluent Community spaces through the Fluent Community REST API.

Как установить скилл fluent-community?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл fluent-community запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить fluent-community с