用Claude Code半自动更新不动产物件: 从CSV到发布前检查
用Claude Code检查不动产物件CSV、过期页面、重复URL、图片不足和咨询CTA,减少发布事故。
不动产公司更新物件时,最危险的不是慢,而是把已经成交或信息错误的物件继续放在网站上。价格变了,管理费没变;房源已预约,页面还显示公开;照片文件夹存在,户型图却缺失。Claude Code适合先做发布前检查,而不是一上来写更漂亮的介绍文。
Duplicate property pages and copied portal text can weaken trust and search performance. Google’s guide to canonical URLs is the baseline, and people-first content is the editorial direction. For Claude Code permissions, see settings and hooks.
Key Takeaways
- Check CSV fields, publication status, photos, URLs, and inquiry links before writing listing copy.
- Claude Code can flag stale published rows, missing fields, and canonical mismatches.
- Humans verify price, availability, owner data, key notes, and advertising permission.
- Agency pages need local context beyond copied portal text.
- Track stale listings, missed price changes, missing photos, wrong canonicals, and wrong CTA links.
Workflow From CSV To Publication
| Stage | Review target | Stop condition |
|---|---|---|
| CSV received | columns, listing ID, update date | required column missing |
| Data review | price, area, address, station | blank, zero, stale date |
| Image review | exterior, interior, floor plan | missing folder or floor plan |
| SEO review | title, description, canonical | duplicate title or wrong canonical |
| Inquiry review | CTA, form, phone | outdated destination |
This table gives Claude Code a bounded job. It is not asked to sell the property. It is asked to stop rows that are not ready.
Claude Code And Human Review
Claude Code handles repeatable checks: CSV column inventory, stale published rows, missing image notes, duplicate titles, canonical mismatch, and outdated inquiry links. Keep private phone numbers, owner names, key locations, and negotiation notes out of the input.
Humans keep the publication decisions. Price, area, availability, ad permission, and owner approval cannot be guessed. The same rule appears in permission decision logs and safe autonomy ladder.
Three Use Cases
Use case 1: CSV field review
Split columns into required, optional, and forbidden. Required fields include listing ID, status, price, address, station, update date, inquiry destination, and canonical URL. Forbidden fields include owner information, private phone numbers, key notes, and unpublished negotiation notes.
Use case 2: Stale listing detection
Published rows with old update dates should appear in a daily review. This is not for blaming agents. It gives the team a calm list: unpublish, confirm price, add photos, or keep live.
Use case 3: Duplicate URL and canonical cleanup
The same property may appear in station pages, branch pages, campaign pages, and listing pages. Group URLs by listing ID and mark the preferred URL. That helps SEO and also gives sales staff one URL to send.
Copy-Paste Prompt
Act as a listing-operations editor for a small real estate agency.
Create a pre-publication check from a property CSV. Do not invent price, area, owner data, or availability.
Input:
- CSV column names:
- current property page URL:
- inquiry destination:
- conditions for unpublishing:
Return:
1. required, optional, and forbidden CSV fields
2. stop-before-publish rules
3. duplicate URL and canonical checklist
4. missing photo, floor plan, and neighborhood checks
5. inquiry CTA copy
6. final human review table
Working Check
const listings = [
{
id: "A-101",
title: "南向き2LDK 駅徒歩7分",
status: "published",
price: 128000,
address: "東京都サンプル区",
station: "サンプル駅",
updatedAt: "2026-07-19",
canonicalUrl: "/properties/a-101/",
sourceUrl: "/properties/a-101/",
},
{
id: "B-204",
title: "",
status: "published",
price: 0,
address: "東京都サンプル区",
station: "サンプル駅",
updatedAt: "2026-07-10",
canonicalUrl: "/properties/b-204/",
sourceUrl: "/rent/b-204/",
},
];
const today = new Date("2026-07-19");
const required = ["id", "title", "status", "price", "address", "station", "updatedAt", "canonicalUrl"];
const report = listings.map((listing) => {
const missing = required.filter((field) => !listing[field]);
const daysOld = Math.floor((today - new Date(listing.updatedAt)) / 86400000);
return {
id: listing.id,
missing,
stale: listing.status === "published" && daysOld > 5,
canonicalMismatch: listing.canonicalUrl !== listing.sourceUrl,
};
});
const failures = report.filter((row) => row.missing.length || row.stale || row.canonicalMismatch);
if (failures.length) {
console.table(failures);
process.exit(1);
}
console.log("Listing CSV is ready for publication review.");
This script is a small gate. It does not verify the property itself, but it catches missing fields, stale published rows, and canonical mismatch before humans spend time on copy.
Pitfall: Common Mistakes
Pitfall 1: sending internal data to AI. Remove owner names, key notes, private phone numbers, and negotiation memos.
Pitfall 2: writing copy before checking status. A beautiful listing with the wrong price is still a publication failure.
Pitfall 3: copying portal text unchanged. Add local viewing notes, neighborhood context, and inquiry guidance from real agency knowledge.
Pitfall 4: relying on memory for unpublishing. A daily stale listing report is easier than apologizing after inquiry.
ROI Signal
Measure stale listing count, missed price updates, missing photos, canonical mismatches, wrong CTA links, page views, and inquiries. These numbers show whether the publishing workflow is creating trust or creating avoidable support work.
CTA
If your agency has recurring listing update mistakes, bring CSV columns, public URLs, inquiry forms, and unpublish rules to training and consultation. For listing copy, read real estate listing descriptions.
What Happened When I Tried It
I modeled a listing CSV with ID, status, price, address, station, update date, and canonical URL. The Node.js check detected blank title, zero price, stale published rows, and canonical mismatch. The strongest lesson is that Claude Code creates value before copywriting: it stops listings that should not be published yet.
相关文章
用 Claude Code 批量生成房产中介房源文案:挂牌描述从半天缩到 10 分钟
面向房产中介门店店长与经纪人。用 Claude Code 批量生成贝壳、安居客等平台的房源描述,附可复制的提示词、校验脚本和个人信息处理方法。
用 Claude Code 给租赁管理公司省时:租客咨询回复与合同书面核对
把租客咨询回复和合同书面核对交给 Claude Code 生成初稿,附可直接套用的提示词模板和脱敏校验脚本。
用 Claude Code 安全构建多租户 SaaS:RLS、认证、计费与日志
用 Claude Code 实现多租户 SaaS:tenant_id、RLS、认证边界、计费限制、任务和泄漏测试。
免费 PDF: Claude Code 速查表
输入邮箱即可获取一页 PDF,整理常用命令、审查习惯和安全工作流。
我们会妥善保护你的信息,不发送垃圾邮件。
让 Claude Code 真正进入可验证的工作流
先用免费 PDF 固定基础,再用 Gumroad 教材复用工作流;如果涉及团队导入、权限或收入路径,可以直接咨询。
关于作者
Masa
专注 Claude Code 实务流程、团队导入和内容转化的工程师。