Add agent skills, sandboxed templates, fix AGENTS.md violations#32
Merged
Conversation
…kill validations Create 10 agent skills (makefile, pydantic-settings, python-testing, typer-cli, fastapi-routes, sqlalchemy-models, docker-compose, celery-tasks, aiocache, jinja-templates) to replace verbose AGENTS.md sections. Add sandbox_env to jinja.py for untrusted template rendering with 9 sandbox tests. Replace print() with logger.info() in celery.py and qq.py with caplog fixes. Add .env.example and /health endpoint. Validate all skills against official documentation and fix API inaccuracies.
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.
Summary
SandboxedEnvironmentand 9 security testsprint()withlogger.info()in celery.py and qq.py.env.examplefile and/healthendpointChanges
Agent Skills (10 new):
makefile— complete reference for all make targetspydantic-settings— configuration settings conventionspython-testing— pytest patterns and fixture structuretyper-cli— CLI commands and@syncifypatternfastapi-routes— REST API endpoints and Pydantic modelssqlalchemy-models— async SQLAlchemy models and Alembic migrationsdocker-compose— development environment workflowscelery-tasks— background tasks and periodic task setupaiocache— caching with@cacheddecorator andNoOpCachejinja-templates— template rendering including sandboxed environmentsAGENTS.md Reduction:
Code Quality Fixes:
celery.py,qq.py:print()→logger.info()(AGENTS.md compliance)test_celery.py,test_qq.py:capsys→caplogwithset_level(logging.INFO)www.py: added/healthendpoint returning{"status": "ok"}.env.examplewith all conditional env vars commented outSandboxed Templates:
sandbox_env(SandboxedEnvironment) inservices/jinja.pyjinja-templates/references/sandboxed-templates.mddocumentationAll 3 Configurations Pass: