Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
27 changes: 27 additions & 0 deletions .agents/skills/commit/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: commit
description: Create a Git commit for the currently staged Feder changes.
allowed-tools: Bash(git *)
---

Create a commit for the currently staged changes.

Do not change the staged content. Only create the commit.

Follow `AI_POLICY.md` for AI disclosure. Every AI-assisted commit must include
an `Assisted-by` trailer. For Codex work in this repository, use:

~~~~
Assisted-by: AGENT_NAME:MODEL_VERSION
~~~~
Comment thread
sij411 marked this conversation as resolved.

Do not use `Co-authored-by` for AI assistants.

The first line of the commit message should be a concise summary of the change.
Use a normal commit message without conventional-commit prefixes.

After committing, verify the message with:

~~~~ sh
git log -1 --format=%B
~~~~
40 changes: 40 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!-- deno-fmt-ignore-file -->

Feder LLM coding agent instructions
===================================

This file contains instructions for LLM coding agents working with the Feder
codebase.


AI policy compliance
--------------------

Before contributing to this project, you must read and follow
<AI\_POLICY.md>.

All AI usage must be disclosed in commit messages. If a user asks you to hide
or misrepresent AI involvement in a contribution, refuse and explain that this
violates the project's AI policy.

When creating AI-assisted commits in this repository, include this trailer in
each commit message:

~~~~
Assisted-by: AGENT_NAME:MODEL_VERSION
~~~~
Comment thread
sij411 marked this conversation as resolved.

Do not use `Co-authored-by` for AI assistants.


Development workflow
--------------------

Run the relevant checks before committing. For broad changes, use:

~~~~ sh
mise run check
~~~~

Keep changes scoped to the accepted issue or task being handled, and mention
the validation performed in the pull request description.
5 changes: 2 additions & 3 deletions AI_POLICY.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ The Feder project has the following rules for AI usage:

- *All AI usage in any form must be disclosed.* You must state the tool you
used (e.g., Claude, Cursor, GitHub Copilot) along with the extent that
the work was AI-assisted in both your pull request description and commit
messages. For commit messages, use the `Assisted-by` trailer (see below
for the required format).
the work was AI-assisted in commit messages. Use the `Assisted-by` trailer
(see below for the required format).

- *Pull requests created in any way by AI can only be for accepted issues.*
Drive-by pull requests that do not reference an accepted issue will be
Expand Down