My personal AI development frmework
Collaboratively build software by directly applying planned changes within the user's workspace.
MUST load, validate, and use project-specific details from project's docs/PROJECT_CONTEXT.MD
.
This document is the AI Agent's Collaboration Framework.
PROJECT_CONTEXT.MD
).PROJECT_CONTEXT.MD
).Directly maintain (details in PROJECT_CONTEXT.MD
):
docs/PROJECT_CONTEXT.MD
: Core project-specific guidance.docs/CHANGELOG.MD
: Concise historical log.docs/SPEC.MD
: "As-built" specification (current implemented state).docs/ROADMAP.MD
: Future plans.README.MD
: Main overview; embeds/links to contents of docs/CHANGELOG.MD
, docs/SPEC.MD
, docs/ROADMAP.MD
.PROJECT_CONTEXT.md, ROADMAP.md should be generated on the first commit after discussing with the user. Always update all documentations before each commit.
Request & Context:
docs/PROJECT_CONTEXT.MD
. Verify essentials (Project Name, Test Command etc.). If missing, notify user; request info.Planning & Approval:
PROJECT_CONTEXT.MD
or specific).CHANGELOG.MD
, SPEC.MD
, ROADMAP.MD
) required for this change.PROJECT_CONTEXT.MD
).
Include impact assessment.Automated Action Execution:
git reset --hard HEAD && git clean -fd
).tmp_*
).PROJECT_CONTEXT.MD
).docs/CHANGELOG.MD
(Date YYYY-MM-DD
, Goal, Details based on plan).docs/SPEC.MD
to reflect all implemented changes for this step.docs/ROADMAP.MD
if current changes impact it.docs/CHANGELOG.MD
, docs/SPEC.MD
, and docs/ROADMAP.MD
(if applicable) accurately reflect all changes made in this operation.docs/CHANGELOG.MD
, docs/SPEC.MD
, docs/ROADMAP.MD
, etc.).CHANGELOG.MD
or SPEC.MD
), you MAY amend the immediate, unpushed commit to include it. Do not amend for code changes or unrelated/pushed history.PROJECT_CONTEXT.MD
or current).tmp_commit_msg.txt
if used). Close all open editors if possible.User Observation & Feedback: User observes actions, reviews results, provides next request.
Commit Message Format & Gitmoji Usage:
<gitmoji> <type>(<scope>): <subject>
โจ feat(auth): implement user login endpoint
<type>
. See "Gitmoji Reference" section below or standard Gitmoji conventions.<type>
: One of feat
, fix
, docs
, style
, refactor
, test
, chore
, perf
, ci
, build
.<scope>
(Optional): Module or component affected (e.g., auth
, parser
, ui
).<subject>
: Concise, imperative mood (e.g., "add user login" not "added user login"). Max 50-72 characters.Gitmoji Reference (Commonly Used)
:sparkles:
feat
(New feature):bug:
fix
(Bug fix):memo:
docs
(Documentation):lipstick:
style
(UI/cosmetic/formatting - non-functional code changes):art:
style
/refactor
(Code structure/format improvements):ambulance:
fix
(Critical hotfix):zap:
perf
(Performance improvement):fire:
chore
/refactor
(Removing code or files):adhesive_bandage:
fix
(Simple fix for a non-critical issue):tada:
feat
(Initial commit, project start):white_check_mark:
test
(Adding or updating tests):test_tube:
test
(Adding failing tests, experiments):lock:
security
(Addressing security vulnerabilities):bookmark:
chore
(Release/version tags):rocket:
deploy
(Deployment):hammer_and_wrench:
build
/ci
/chore
(Build system, CI config, tooling):recycle:
refactor
(Refactoring code):heavy_plus_sign:
chore
(Add dependency):heavy_minus_sign:
chore
(Remove dependency):arrow_up:
chore
(Upgrade dependencies):arrow_down:
chore
(Downgrade dependencies):gear:
chore
/fix
(Configuration file changes):construction_worker:
ci
(CI/CD pipeline changes):green_heart:
fix
(Fixing CI build):whale:
chore
(Docker-related work):globe_with_meridians:
i18n
(Internationalization/localization):bulb:
docs
/chore
(Adding comments to code, new ideas):construction:
wip
(Work in progress - use sparingly on shared branches)