Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
3db0135
chore(deps): bump python from 3.12-slim to 3.14-slim
dependabot[bot] Apr 5, 2026
656954b
chore(deps): bump python-dotenv from 1.0.1 to 1.2.2
dependabot[bot] Apr 5, 2026
3473ff6
chore(deps): bump actions/upload-artifact from 4 to 7
dependabot[bot] Apr 12, 2026
da7bf7a
chore(deps): bump actions/setup-python from 5 to 6
dependabot[bot] Apr 12, 2026
fbcef6d
fix(api): make Marshmallow validators compatible with newer callbacks
donny-devops May 17, 2026
da30d68
feat(api): add readiness endpoint and structured error responses
donny-devops May 17, 2026
94ddfd6
fix(docker): add database wait loop before migrations
donny-devops May 17, 2026
6a43d12
fix(docker): harden compose healthchecks and defaults
donny-devops May 17, 2026
9dd56c7
fix(ci): make lint check-only and least-privilege
donny-devops May 17, 2026
e860efd
test(api): cover readiness validation and JSON error behavior
donny-devops May 17, 2026
04e13f7
docs(env): document runtime tuning variables
donny-devops May 17, 2026
08cbfb1
docs(readme): fill architecture and operational runbook gaps
donny-devops May 17, 2026
f81e817
feat: add docker-flask-postgres-api ECC bundle (.claude/ecc-tools.json)
ecc-tools[bot] May 17, 2026
c296e46
feat: add docker-flask-postgres-api ECC bundle (.claude/skills/docker…
ecc-tools[bot] May 17, 2026
8cf9817
feat: add docker-flask-postgres-api ECC bundle (.agents/skills/docker…
ecc-tools[bot] May 17, 2026
d02fcc7
feat: add docker-flask-postgres-api ECC bundle (.agents/skills/docker…
ecc-tools[bot] May 17, 2026
34a5422
feat: add docker-flask-postgres-api ECC bundle (.claude/identity.json)
ecc-tools[bot] May 17, 2026
1a095e5
feat: add docker-flask-postgres-api ECC bundle (.codex/config.toml)
ecc-tools[bot] May 17, 2026
5cf6b75
feat: add docker-flask-postgres-api ECC bundle (.codex/AGENTS.md)
ecc-tools[bot] May 17, 2026
3c29728
feat: add docker-flask-postgres-api ECC bundle (.codex/agents/explore…
ecc-tools[bot] May 17, 2026
d1ba512
feat: add docker-flask-postgres-api ECC bundle (.codex/agents/reviewe…
ecc-tools[bot] May 17, 2026
73cf48a
feat: add docker-flask-postgres-api ECC bundle (.codex/agents/docs-re…
ecc-tools[bot] May 17, 2026
0223eb2
feat: add docker-flask-postgres-api ECC bundle (.claude/homunculus/in…
ecc-tools[bot] May 17, 2026
5ee8068
feat: add docker-flask-postgres-api ECC bundle (.claude/commands/feat…
ecc-tools[bot] May 17, 2026
08cab31
feat: add docker-flask-postgres-api ECC bundle (.claude/commands/docu…
ecc-tools[bot] May 17, 2026
66c2a6c
security: add repository hygiene workflow
donny-devops May 17, 2026
babb989
Add AgentOps fleet quality gate
donny-devops May 20, 2026
d2505af
ci: enable step-security/harden-runner on all jobs
donny-devops May 29, 2026
5a96ca6
fix(ci): add DATABASE_URL to Run migrations step env to fix auth failure
donny-devops Jun 8, 2026
d10f420
chore(deps): bump actions/checkout from 4 to 7
dependabot[bot] Jun 21, 2026
a1ece96
Merge remote-tracking branch 'origin/agentops/fleet-gate'
donny-devops Jun 21, 2026
e1f2e16
Merge remote-tracking branch 'origin/dependabot/github_actions/action…
donny-devops Jun 21, 2026
895adcb
Merge remote-tracking branch 'origin/dependabot/github_actions/action…
donny-devops Jun 21, 2026
9bd8a82
Merge branch 'main' into dependabot/github_actions/actions/setup-pyth…
donny-devops Jun 21, 2026
a737696
Merge remote-tracking branch 'origin/dependabot/docker/python-3.14-sl…
donny-devops Jun 21, 2026
871e4fc
Merge remote-tracking branch 'origin/hermes/harden-runner-ci' into de…
donny-devops Jun 21, 2026
168a92a
Merge remote-tracking branch 'origin/security/add-hygiene-workflow' i…
donny-devops Jun 21, 2026
ce8bd08
Merge remote-tracking branch 'origin/ecc-tools/docker-flask-postgres-…
donny-devops Jun 21, 2026
2668350
Merge remote-tracking branch 'origin/dependabot/pip/python-dotenv-1.2…
donny-devops Jun 21, 2026
6597d61
Merge branch 'fix/runtime-docker-ci-hardening' into dependabot/github…
donny-devops Jun 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
121 changes: 121 additions & 0 deletions .agents/skills/docker-flask-postgres-api/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
```markdown
# docker-flask-postgres-api Development Patterns

> Auto-generated skill from repository analysis

## Overview

This skill teaches the core development patterns, coding conventions, and workflows used in the `docker-flask-postgres-api` repository. The repository is a Python-based API project, using Docker for deployment and PostgreSQL as the database backend. It emphasizes clear commit messages, modular code organization, and robust testing and documentation practices.

## Coding Conventions

- **File Naming:**
Use camelCase for file names.
_Example:_
```
userRoutes.py
dbConnection.py
```

- **Import Style:**
Use relative imports within the package.
_Example:_
```python
from .schemas import UserSchema
from .utils import validate_input
```

- **Export Style:**
Use named exports (explicitly define what is exported).
_Example:_
```python
def create_user(...):
...

def delete_user(...):
...
```

- **Commit Messages:**
Follow [Conventional Commits](https://www.conventionalcommits.org/) with prefixes: `fix`, `docs`, `feat`, `test`.
_Example:_
```
feat: add user registration endpoint with validation
fix: correct db connection string parsing
docs: update README with setup instructions
test: add tests for user login route
```

## Workflows

### Feature Development: API Endpoint
**Trigger:** When adding a new API endpoint with validation, error handling, and tests
**Command:** `/new-endpoint`

1. **Implement endpoint logic** in `app/__init__.py`
_Example:_
```python
@app.route('/users', methods=['POST'])
def create_user():
# Endpoint logic here
```
2. **Add or update validation** in `app/schemas.py`
_Example:_
```python
class UserSchema(Schema):
username = fields.Str(required=True)
email = fields.Email(required=True)
```
3. **Write or update tests** in `tests/test_routes.py`
_Example:_
```python
def test_create_user(client):
response = client.post('/users', json={...})
assert response.status_code == 201
```
4. **Update documentation** in `README.md`
- Document the new endpoint, request/response examples, and any new environment variables.

---

### Documentation Update
**Trigger:** When documenting new features, configuration, or operational procedures
**Command:** `/update-docs`

1. **Update environment variable documentation** in `.env.example`
- Add or update variables relevant to the new feature.
2. **Update main documentation** in `README.md`
- Describe new features, configuration steps, or architectural changes.

---

## Testing Patterns

- **Test File Naming:**
Test files follow the pattern `*.test.*` (e.g., `userRoutes.test.py`).

- **Test Location:**
Tests are placed in the `tests/` directory, commonly in files like `tests/test_routes.py`.

- **Test Structure:**
Each test function typically uses a client fixture to make HTTP requests to endpoints and asserts on the response.

_Example:_
```python
def test_get_users(client):
response = client.get('/users')
assert response.status_code == 200
assert isinstance(response.json, list)
```

- **Testing Framework:**
The specific framework is not detected, but typical Python test frameworks (like `pytest`) are likely used.

## Commands

| Command | Purpose |
|----------------|-----------------------------------------------------------------|
| /new-endpoint | Start the workflow to add a new API endpoint with tests & docs |
| /update-docs | Start the workflow to update documentation and environment vars |

```
6 changes: 6 additions & 0 deletions .agents/skills/docker-flask-postgres-api/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
interface:
display_name: "Docker Flask Postgres Api"
short_description: "Repo-specific patterns and workflows for docker-flask-postgres-api"
default_prompt: "Use the docker-flask-postgres-api repo skill to follow existing architecture, testing, and workflow conventions."
policy:
allow_implicit_invocation: true
35 changes: 35 additions & 0 deletions .claude/commands/documentation-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: documentation-update
description: Workflow command scaffold for documentation-update in docker-flask-postgres-api.
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
---

# /documentation-update

Use this workflow when working on **documentation-update** in `docker-flask-postgres-api`.

## Goal

Updates documentation files to reflect new features, environment variables, or architectural changes.

## Common Files

- `.env.example`
- `README.md`

## Suggested Sequence

1. Understand the current state and failure mode before editing.
2. Make the smallest coherent change that satisfies the workflow goal.
3. Run the most relevant verification for touched files.
4. Summarize what changed and what still needs review.

## Typical Commit Signals

- Update environment variable documentation in .env.example
- Update main documentation in README.md

## Notes

- Treat this as a scaffold, not a hard-coded script.
- Update the command if the workflow evolves materially.
39 changes: 39 additions & 0 deletions .claude/commands/feature-development-api-endpoint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: feature-development-api-endpoint
description: Workflow command scaffold for feature-development-api-endpoint in docker-flask-postgres-api.
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
---

# /feature-development-api-endpoint

Use this workflow when working on **feature-development-api-endpoint** in `docker-flask-postgres-api`.

## Goal

Implements a new API endpoint, including code, tests, and documentation.

## Common Files

- `app/__init__.py`
- `app/schemas.py`
- `tests/test_routes.py`
- `README.md`

## Suggested Sequence

1. Understand the current state and failure mode before editing.
2. Make the smallest coherent change that satisfies the workflow goal.
3. Run the most relevant verification for touched files.
4. Summarize what changed and what still needs review.

## Typical Commit Signals

- Implement endpoint logic in app/__init__.py
- Add or update validation in app/schemas.py
- Write or update tests in tests/test_routes.py
- Update documentation in README.md

## Notes

- Treat this as a scaffold, not a hard-coded script.
- Update the command if the workflow evolves materially.
Loading
Loading