Back to list
alexborgognoni

update-docs

by alexborgognoni

RentPath is a rental property management platform built for European landlords, property managers, and tenants.

0🍴 0📅 Jan 23, 2026

SKILL.md


name: update-docs description: Review and update documentation after implementation changes. Syncs docs/ and .claude/ with current codebase state. Auto-triggers on "update docs", "sync documentation", "fix docs", "docs out of date", "update the documentation".

Documentation Update Guide

You are helping update RentPath documentation to reflect recent implementation changes.

Arguments

This skill accepts optional arguments to scope the update:

UsageBehavior
/update-docsReview all docs, find discrepancies
/update-docs applicationsFocus on application-related docs
/update-docs docs/modules/Update only files in that directory
/update-docs wizard validationUpdate wizard and validation docs
/update-docs .claude/Update only Claude configuration docs

When arguments are provided, focus the review on those specific areas instead of scanning everything.

Before You Start

  1. Understand what changed: Review recent code changes or ask the user
  2. Identify affected docs: Use the documentation map below
  3. Check for discrepancies: Compare code behavior with documented behavior

Documentation Map

Project Documentation (docs/)

FileContent
docs/INDEX.mdDocumentation navigation, update if adding new docs
docs/TODO.mdRoadmap, mark completed items
docs/IDEAS.mdFuture ideas, move implemented ones to TODO

Architecture (docs/architecture/)

FileContent
docs/architecture/overview.mdDomain structure, tech stack, key decisions
docs/architecture/storage.mdS3/CloudFront, signed URLs, storage patterns
docs/architecture/i18n.mdMulti-language support, translation structure

Modules (docs/modules/)

FileContent
docs/modules/users.mdUser, PropertyManager, TenantProfile models
docs/modules/properties.mdProperty listings, types, specs, visibility
docs/modules/applications.mdApplication workflow, status transitions
docs/modules/leads.mdLead tracking, conversion funnel
docs/modules/tokens.mdInvite tokens, access control

Patterns (docs/patterns/)

FileContent
docs/patterns/wizard.mdMulti-step wizard architecture, step locking
docs/patterns/validation.mdLaravel Precognition, FormRequest as truth
docs/patterns/user-flows.mdPM and tenant user journeys

Claude Configuration (.claude/)

File/FolderContent
.claude/CLAUDE.mdProject overview, key files, instructions
.claude/rules/Laravel conventions, tool usage, pipelines
.claude/skills/Reusable procedural knowledge
.claude/agents/Specialized subagent definitions

Rules (.claude/rules/)

FileContent
laravel-boost.mdLaravel/PHP conventions, package versions
tool-usage.mdWhen to use which tool, agent selection
agent-pipelines.mdMulti-agent coordination patterns

Skills (.claude/skills/)

SkillPurpose
new-feature/Full feature implementation workflow
test-feature/Pest PHP testing patterns
refactor/Service layer extraction guide
wizard-field/Adding fields to wizard forms
db-explore/Safe database exploration
update-docs/This skill - documentation updates
commit/Session-scoped commits, no AI attribution

Agents (.claude/agents/)

AgentPurpose
architect.mdSystem design, module boundaries
domain-expert.mdBusiness rules, workflows
feature-analyst.mdFeature mapping, implementation planning
frontend.mdReact/UI implementation
testing-expert.mdTest strategy, Pest patterns
code-reviewer.mdQuality review, security
infrastructure.mdAWS, Terraform, DevOps

Update Process

Step 1: Identify Changed Areas

# See what files changed
git diff --name-only

# See what's staged
git diff --staged --name-only

Map code changes to documentation:

Code Area ChangedUpdate These Docs
Models/migrationsdocs/modules/[entity].md
Controllers/routesdocs/modules/, docs/patterns/user-flows.md
Validation/FormRequestsdocs/patterns/validation.md
Wizard stepsdocs/patterns/wizard.md
Storage/S3docs/architecture/storage.md
i18n/translationsdocs/architecture/i18n.md
New patterns/conventions.claude/rules/, docs/architecture/
New skills/agentsUpdate this skill's documentation map

Step 2: Review Documentation

For each affected doc:

  1. Read current state - Understand what's documented
  2. Compare with code - Identify discrepancies
  3. List changes needed:
    • Add new concepts/features
    • Remove deprecated content
    • Fix incorrect information
    • Update examples/code snippets

Step 3: Make Updates

Principles:

  • Keep docs concise - remove redundancy
  • Use tables for structured information
  • Include code examples where helpful
  • Cross-reference related docs
  • Update the INDEX.md if adding new docs

Common updates:

## Adding a new field

- Update model documentation with field description
- Update validation docs if new rules
- Update wizard docs if wizard field

## Adding a new endpoint

- Update module docs with route
- Update user-flows if changes journey

## Changing architecture

- Update overview.md
- Update relevant pattern docs
- Update .claude/rules if convention changes

Step 4: Verify Consistency

Check for cross-document consistency:

  • Field names match between docs and code
  • Status values/enums are current
  • Route paths are accurate
  • Code examples compile/work
  • Related docs reference each other correctly

Quick Reference: What to Update When

Change TypePrimary DocSecondary Docs
New database fielddocs/modules/[entity].mdFactory docs if test-related
New API endpointdocs/modules/[entity].mddocs/patterns/user-flows.md
New modelCreate in docs/modules/docs/INDEX.md, overview
New validation patterndocs/patterns/validation.md-
New wizard stepdocs/patterns/wizard.mddocs/modules/applications.md
New skillCreate in .claude/skills/This skill's map, tool-usage.md
New agentCreate in .claude/agents/agent-pipelines.md, tool-usage.md
Architecture changedocs/architecture/overview.mdAffected pattern docs
Convention change.claude/rules/CLAUDE.md if significant

Output Format

After updating, provide summary:

## Documentation Updates

### Updated Files

- `docs/modules/applications.md` - Added new `visit_notes` field
- `docs/patterns/wizard.md` - Updated step 5 description

### Removed Content

- Removed deprecated `legacy_status` field from applications docs

### Added Content

- New section on visit scheduling workflow

### Cross-Reference Fixes

- Fixed broken link in INDEX.md

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon