| name | framework-guidance-stage |
| description | Fetch organization-specific guidance for a web framework (Django, Flask, FastAPI, Express, Rails, Spring, etc.) from the Armis Knowledge STAGE environment. Use when generating or reviewing code that uses a specific framework. Triggers: /framework-guidance-stage, how do we use Django, Flask conventions, our patterns for Express, framework standards. |
| allowed-tools | ["Bash(curl *)","Bash(jq *)","Bash(source *)"] |
/framework-guidance-stage
Fetch Armis-specific guidance for a web framework from the stage Knowledge backend.
source "$CLAUDE_PLUGIN_ROOT/lib/armis-knowledge.sh"
TENANT_ID=$(ak_tenant_id)
NAME="${ARGUMENTS:?usage: /framework-guidance-stage <framework> (e.g. django, flask, fastapi, express, rails, spring)}"
ak_get /api/knowledge/content-pack \
--data-urlencode "tenant_id=$TENANT_ID" \
--data-urlencode "pack=frameworks" \
--data-urlencode "name=$NAME"
How to apply
- Apply the returned guidance to the code you write or review. If guidance
contradicts a pattern in the existing codebase, surface the conflict —
don't silently override.
- If the response is
404 not_found, the org has no specific guidance for
that framework; continue with general best practices and tell the user.
- Cite: "Applied Armis Knowledge stage framework-guidance: ."
Notes
- Use the canonical lowercase framework name (
django, flask, fastapi,
express, rails, spring).
- Auth errors → see the
knowledge-stage skill's "Errors" section.