xiaohongshu
xiaohongshu
conventional-committer
Skill for committing changes to this repository using Git, generating a commit message from recent history and current changes.
Full skill instructions
This skill creates Git commits for this repository.
It:
git commit with the generated message.The default behavior of this skill is to produce a commit in the repository, not merely draft a message.
Use this skill whenever you are asked to create a commit in this repository, for example when the user says things like:
In particular:
Interpret user intent as follows:
If there are no changes to commit after doing this, report that no commit was created.
This skill relies on a helper script stored in:
scripts/git_context_chunks.py (relative to skill directory)The helper script:
| Purpose | Command / Invocation | Output / Notes |
|---|---|---|
| Run from skill directory | python3 scripts/git_context_chunks.py | Uses git --no-pager and GIT_PAGER=cat to avoid interactive pagers. |
| Recent commits section | git log -n5 --format="commit %h%n%B%n--------------" | Produces == Recent commits (last 5) == followed by 5 recent commits. |
| Staged changes section | git --no-pager diff --cached | Produces == Staged changes ... == followed by the full staged diff. |
| Chunking and splitting | (internal) | ≤ 16384 chars per chunk; splits at diff --git boundaries or newlines. |
| Chunk metadata & navigation | (internal) | Wraps chunks with markers; prints next command to stderr when needed. |
Treat these markers and “next chunk” lines as metadata; they must not appear in the final commit message.
Run all commands from the conventional-committer skill directory (conventional-committer/ in this repository).
Obtain the first chunk of Git context:
python3 scripts/git_context_chunks.pyThe script:
1/N to standard output.N > 1, prints a “Next chunk command” to standard error.When more chunks are required:
Read the “Next chunk command” emitted to standard error, e.g.:
python3 scripts/git_context_chunks.py --chunk-index 1Execute that command to retrieve the next chunk.
Repeat until the current chunk index equals N - 1 (the last chunk).
Together, the ordered chunks reconstruct the 5 most recent commits and the full staged diff without truncation.
This section specifies the expected agent behavior when applying the skill.
git commit with the synthesized message to actually create the commit.Determine what should be committed.
Interpret user intent and the current index state:
git add -A or an equivalent command appropriate for this repository and workflow).Verify there is something to commit.
git diff --cached is empty), report that there are no changes to commit and stop.Run the helper script for chunk 0:
python3 scripts/git_context_chunks.pyCapture the output for use as context:
[conventional-committer] chunk 1/N[conventional-committer] end of chunk 1/NIf more chunks exist:
From the collected chunks:
type: subject or type(scope): subject pattern), mirror that style in the new commit.Validate and apply the commit:
git commit with this message from the repository root. For example:
git commit --no-edit -m "<subject line>" is acceptable if no separate body is needed.git commit -m "<subject line>"git commit -m "<subject line>" -m "<body ...>"git --no-pager log -1 --oneline).The expected outcome of this procedure is a new commit in the repository that accurately represents the requested changes.
For any system that can execute commands in this repository:
chunk 1/N, chunk 2/N, …, chunk N/N.git commit with that message.Orchestrators should treat this skill as the standard path for creating commits in this repository.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience