Repository navigation
Update skills for nitrostack 0.4.x; add config, runtime, transports/CLI, testing skills - #3
Open
manish-wekan wants to merge 4 commits into
Open
manish-wekan wants to merge 4 commits into
manish-wekan wants to merge 4 commits into
Conversation
Existing skills: fix snippets that didn't compile, add the current tool options (annotations, examples, no-argument inputs), the pipeline order, API key and JWT auth, require_scopes vs the template scope guard, and the service-layer split. ui-widgets: the bundled templates ship plain HTML; src/widgets is optional. New skills: config-environment (.env precedence, ConfigService), runtime-features (cache, rate limits, tasks, events, health), transports-cli, testing. scripts/check_skills.py checks frontmatter, compiles every python block, and checks every nitrostack import against the SDK. CI runs it on PRs, on main, and weekly against the latest PyPI release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
upgrade replaces vendor/nitrostack since 0.4.2. Projects created with an older CLI hit the old upgrade bug, so point them at uvx. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reconcile five SKILL.md conflicts against nitrostack 0.4.x: keep PR #3 API fixes and cross-skill splits (runtime-features, transports-cli), fold in main's expanded JWT/API key/RBAC examples, pipeline sections, widget modes, and file-upload guidance where accurate; drop duplicated cache/tasks/CLI/event content now covered by sibling skills. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
nitrostack-py initclonesmainof this repo into every new project. The skills predated 0.4.x, and three had snippets that didn't compile.What
Updated
tools-resources-prompts:ToolAnnotations,ToolExamples,PromptArgument/PromptMessage, the empty-input-model rule, hidden tools, and the service-layer split.middleware-pipeline: stage order table, and thePipeMetadataimport path.ApiKeyGuardallows every call when neitherApiKeyModulenorAPI_KEYis set.auth-security: API key, JWT and OAuth modules, plusrequire_scopesvs the template'screate_scope_guard(they differ when there's no token).mcp-app-architecture:SERVER_NAME,generate module/service, module layout.ui-widgets: corrected thesrc/widgetsclaim, app modes, Inspector setup.New
config-environment: process env >.env> defaults (0.4.1),ConfigService, and the SDK's variables.runtime-features:@cache(service methods only),@rate_limit, MCP tasks with progress, events, health checks.transports-cli: stdio/http/dual, protocol era, CLI commands.testing:NitroTestingModuleand its conventions.CI:
scripts/check_skills.py, run on PRs, onmain, and weekly against the latest PyPI release. It checks:nameand adescription;from nitrostack… importname exists in the SDK.package.jsonis bumped to 1.1.0 soupgradesees new skills.Test
check_skills.py: 0 problems against nitrostack 0.4.1 from PyPI. A mutation (an import of a name that doesn't exist) fails it.NitroTestingModule: tools, resources, prompts, pipeline, auth, widgets, cache, rate limit, tasks, events, health, config. Every result matched the text.Note
Merging changes the skills of every project created from then on.
🤖 Generated with Claude Code