A structured markdown syntax for iterating on documents with Claude AI
Patterns for using the Document Iteration Skill with multiple people.
Add initials to track who said what:
%% @JS: This needs simplification %%
%% @MK: Agreed, too complex %%
%% @AL: I can refactor next sprint %%
Claude can acknowledge who made the comment:
%% @JS: Add rate limiting %%
•%%>@JS - Added rate limiting: 100 req/min standard,
1000 req/min for enterprise tier. <%%•
For team-wide decisions:
%% @ALL: Team consensus - use PostgreSQL %%
%% @LEADS: Architecture review required %%
%% @SECURITY: Needs security audit %%
Each reviewer adds their feedback, Claude responds to all:
## Authentication Design
Use JWT with 1-hour expiry.
%% @JS: APPROVED %%
%% @MK: Add refresh tokens %%
%% @AL: Consider shorter expiry for sensitive ops %%
Claude responds:
%% @JS: APPROVED %%
•%%>Noted! <%%•
%% @MK: Add refresh tokens %%
•%%>Added 7-day refresh tokens with rotation. <%%•
%% @AL: Consider shorter expiry for sensitive ops %%
•%%>Good point. Added 5-minute tokens for payment operations. <%%•
When reviewers disagree, Claude flags it:
%% @JS: Use REST API %%
%% @MK: Use GraphQL instead %%
Claude responds:
%% @JS: Use REST API %%
%% @MK: Use GraphQL instead %%
•%%>⚠️ Conflicting feedback from @JS and @MK.
REST pros: Simpler, better caching, wider tooling
GraphQL pros: Flexible queries, single endpoint, typed schema
Recommendation: REST for MVP, GraphQL for v2?
Please resolve before I proceed. <%%•
Require multiple approvals:
## Security Design %% NEEDS: @SECURITY @LEADS %%
...content...
%% @SECURITY: APPROVED %%
%% @LEADS: APPROVED %%
Assign sections to specific people:
## Frontend %% OWNER: @JS %%
## Backend %% OWNER: @MK %%
## Infrastructure %% OWNER: @AL %%
When commenting on someone else’s section:
## Backend %% OWNER: @MK %%
Uses ==Redis(CACHE)== for session storage.
%% @JS: (cross-team) Frontend needs cache invalidation events %%
Track progress visually:
## Status
| Section | Owner | Status |
|---------|-------|--------|
| Auth | @JS | %% APPROVED %% |
| Payments | @MK | %% WIP %% |
| Admin | @AL | %% REVISE %% |
Flag items that block others:
%% @MK: BLOCKED - waiting on @JS for auth tokens spec %%
Explicit handoff between team members:
%% @JS: Done with auth design, @MK please review %%
•%%>Handoff noted. @MK has the ball. <%%•
Each reviewer works on their branch:
main
├── review/js-auth-feedback
├── review/mk-api-feedback
└── review/al-infra-feedback
Merge reviews into main, resolve conflicts in the document.
Include reviewer info:
docs: Add @JS feedback on auth section
- Added comments on JWT expiry
- Flagged rate limiting concern
- Approved session handling
%% WIP %% sections%% @INITIALS: comment %% inline%% APPROVED %% tags addedDocument your team’s patterns:
# Team Conventions
- Use @INITIALS (2-3 letters) for attribution
- @ALL for team consensus
- @SECURITY for security-sensitive items
- Final approver adds %% APPROVED %%
One topic per comment thread:
# Good
%% @JS: Rate limiting is too low %%
%% @JS: Also need request logging %%
# Harder to track
%% @JS: Rate limiting is too low and we need request logging %%
After team alignment, clean up the back-and-forth:
# Before cleanup (shows full discussion)
%% @JS: Use REST %%
%% @MK: GraphQL better %%
%% @JS: OK, GraphQL works %%
%% @ALL: APPROVED - GraphQL %%
# After cleanup (clean document)
Uses GraphQL API.
Add to your .claude.md:
## Team Mode Rules
1. Always include author attribution in responses
2. Flag conflicts: "⚠️ @X and @Y have conflicting feedback"
3. Don't modify sections owned by others without @mention
4. Require @ALL or multiple approvals for architecture changes
See Customization for more configuration options.