Compare commits
2
Commits
361be919b9
...
6ee104e823
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ee104e823 | ||
|
|
e2ab47ae50 |
No files matched your search
@@ -69,6 +69,7 @@ Every skill features an explicit **"Your call"** checkpoint where the agent paus
|
||||
| **[`journal-builder`](skills/journal-builder/SKILL.md)** | `/journal-builder` or `/journal` | Retrospective inquiry from engineering history. Probes understanding and discovers learning edges. | 56 lines |
|
||||
| **[`reconcile-docs`](skills/reconcile-docs/SKILL.md)** | `/reconcile-docs [path]` | Reconciles historical evidence, present code reality, and future plans into canonical repo docs (README, ARCHITECTURE, ADR, ROADMAP). | 37 lines |
|
||||
| **[`build-skill`](skills/build-skill/SKILL.md)** | `/build-skill [topic]` | Interactive design, sizing, authoring, and empirical dogfooding of agent skills. Enforces design review gate before file creation. | 48 lines |
|
||||
| **[`inspect-flake-update`](skills/inspect-flake-update/SKILL.md)** | `/inspect-flake-update` | Inspects updated flake.lock inputs, reviews upstream revisions, runs nix flake check, and drafts commit messages. | 46 lines |
|
||||
|
||||
### Vault Extensions (`extensions/`)
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ while [[ $# -gt 0 ]]; do
|
||||
done
|
||||
|
||||
# Active skills to install
|
||||
ACTIVE_PORTABLE_SKILLS=(build-skill diagnose document git-commit journal-builder practice reconcile-docs)
|
||||
ACTIVE_PORTABLE_SKILLS=(build-skill diagnose document git-commit inspect-flake-update journal-builder practice reconcile-docs)
|
||||
ACTIVE_EXTENSION_SKILLS=(draft-curation commit-logger)
|
||||
|
||||
# Legacy / deprecated skills to clean up or back up if found in target
|
||||
|
||||
@@ -15,6 +15,36 @@ when interacting with backend APIs and systems.
|
||||
4. **Maintainability**: Component modularity, clean styling, and typed interfaces.
|
||||
5. **API clarity**: Pragmatic consumer-first feedback on backend contracts.
|
||||
|
||||
## Technical Stack Preferences
|
||||
|
||||
1. **Lightweight & Server-Driven (`htmx`)**:
|
||||
- Default for fast, backend-centric interfaces (FastAPI, Jinja2 templates, hypermedia).
|
||||
- Leverage hypermedia swaps (`hx-target`, `hx-swap`), out-of-band updates, and clean HTML.
|
||||
- Avoid client-side build overhead when server-rendered HTML over the wire suffices.
|
||||
2. **Modern Component SPA (`Vite`)**:
|
||||
- Default when rich client state, optimistic UI, or complex dashboard interactions are required.
|
||||
- Fast, lightweight dev loop: Vite + TypeScript + Tailwind / Semantic CSS.
|
||||
- Keep dependencies lean; prefer native browser platform APIs over heavy widget libraries.
|
||||
|
||||
## Design Manifesto: Anti-"Zombie UI" Principles
|
||||
|
||||
1. **Have a Point of View**:
|
||||
- Commit to a clear aesthetic direction (e.g. clean editorial, high-density utilitarian, warm minimalist).
|
||||
- Reject generic "AI slop": ban cliché purple-on-gray gradients, unstyled card grids, and cookie-cutter layouts.
|
||||
2. **Typography with Character**:
|
||||
- Avoid lazy defaults (banned: unexamined Inter/Roboto fallback).
|
||||
- Pair a distinctive display font with an ergonomic, highly legible body font.
|
||||
3. **Mobile-First Ergonomics**:
|
||||
- Design for the small viewport first; enhance progressively for wider screens.
|
||||
- Touch targets must be >= 44x44px; primary interactive controls belong in natural thumb reach.
|
||||
4. **Refuse to Confuse "Done" with "Good" (The 5 States)**:
|
||||
Every interactive view or component must explicitly design for:
|
||||
- *Empty*: Welcoming guidance and prompt to action, never a blank container.
|
||||
- *Loading*: Stable skeleton or indicator that prevents layout shifts (CLS).
|
||||
- *Error*: Helpful explanation with an actionable recovery/retry button.
|
||||
- *Partial*: Graceful handling of single-item or paginated boundaries.
|
||||
- *Success*: Immediate visual feedback acknowledging user action.
|
||||
|
||||
## Authority Matrix
|
||||
|
||||
I operate under **Branch & PR Autonomy**:
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
---
|
||||
name: inspect-flake-update
|
||||
description: >-
|
||||
Inspect changes when flake.lock is updated. Reviews updated input revisions
|
||||
one by one, surfaces upstream changelogs, verifies with nix flake check,
|
||||
summarizes modifications, and suggests a commit message.
|
||||
---
|
||||
|
||||
# Inspect Flake Update
|
||||
|
||||
## Use when
|
||||
- `flake.lock` has uncommitted modifications after updating inputs.
|
||||
- Inspecting, auditing, or reviewing revisions introduced by flake updates.
|
||||
- Not for general git diff inspections (use `/git-commit`).
|
||||
- Not for troubleshooting unrelated NixOS build failures (use `/diagnose`).
|
||||
|
||||
## Steps
|
||||
1. **Detect lock changes.** Run `git diff flake.lock` to identify all changed inputs.
|
||||
Parse each input node: input name, previous revision, and new revision.
|
||||
If `flake.lock` is clean, ask which input the user wants to update.
|
||||
2. **Review revisions one by one.** For each updated input:
|
||||
- Identify repository host and commit comparison range (e.g. `owner/repo@old...new`).
|
||||
- Retrieve commit log, PR list, or release notes between the two revisions.
|
||||
- Present the changes to the user, highlighting breaking changes, major updates,
|
||||
security fixes, or deprecated options.
|
||||
- Wait for the user confirmation before proceeding to the next input.
|
||||
3. **Validate the flake.** Run `nix flake check` to ensure metadata, inputs, and derivations
|
||||
evaluate cleanly. If the repository defines host or package builds, optionally run
|
||||
dry builds without switching or activating.
|
||||
4. **Synthesize changes and suggest commit message.** Summarize all inspected inputs,
|
||||
noting their updated versions and key upstream changes. Suggest a Conventional Commit
|
||||
message (e.g. `chore(flake): bump <input> to <rev>` or `chore(deps): update inputs`).
|
||||
5. **Hand off.** Hand off to `git-commit` to stage `flake.lock` and execute the commit.
|
||||
|
||||
## Your call
|
||||
- Deciding whether to accept an input update or roll it back.
|
||||
- Choosing whether to run additional dry builds beyond `nix flake check`.
|
||||
- Approving the suggested commit message.
|
||||
|
||||
## Done when
|
||||
- All updated inputs have been reviewed, `nix flake check` passes cleanly, the change
|
||||
summary and commit message are produced, and handoff to `git-commit` is ready.
|
||||
|
||||
## Hands off to
|
||||
- `git-commit`: to review staged changes and create the commit.
|
||||
- `diagnose`: if `nix flake check` or derivation evaluation fails.
|
||||
Reference in new issue
Block a user