Core utilities for OpenProject API v3 integration. Provides HTTP client with API Key auth, HAL+JSON parsing, pagination helpers, filter builders. Required by all other openproject-* skills. Use when setting up OpenProject integration or troubleshooting API issues.
/plugin marketplace add hoangvantuan/claude-plugin/plugin install hoangvantuan-shun-claude-plugin@hoangvantuan/claude-pluginThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/api-basics.mdrequirements.txtscripts/__init__.pyscripts/client.pyscripts/exceptions.pyscripts/helpers.pyscripts/types.pytests/__init__.pytests/test_client.pytests/test_helpers.pyBase utilities for OpenProject API v3 integration.
Set environment variables:
OPENPROJECT_URL: Your OpenProject instance URLOPENPROJECT_API_KEY: Your API key (found in My Account)Install dependencies:
pip install -r openproject-core/requirements.txt
OpenProjectClient: Main HTTP client classget(), post(), patch(), delete()build_filters(): Build filter JSON stringbuild_sort(): Build sortBy JSON stringpaginate(): Auto-paginate through resultsparse_hal_response(): Parse HAL+JSON responsesextract_id_from_href(): Extract resource ID from HAL hrefHALLink: Link type definitionHALResponse: Base response typeCollectionResponse: Paginated collectionErrorResponse: Error formatOpenProjectError: Base exceptionAuthenticationError: Auth failedOpenProjectAPIError: API error responsefrom openproject_core.client import OpenProjectClient
from openproject_core.helpers import build_filters, paginate
# Initialize client
client = OpenProjectClient()
# Get work packages with filters
filters = build_filters([{"status": {"operator": "o", "values": []}}])
work_packages = client.get("/work_packages", params={"filters": filters})
# Paginate through all projects
for project in paginate(client, "/projects"):
print(project["name"])
client.close()
references/api-basics.md - API fundamentalsThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.