# agent.md - agent.ifq.ai

> Canonical agent guide for autonomous browsers, AI assistants, search agents, and citation systems.

## Identity

- URL: https://agent.ifq.ai
- Name: Agent Prompt Hub / Agent 提示词中心
- Maintainer: ifq.ai
- Access: internal accounts only
- Languages: zh-CN and en-US

## Purpose

Agent Prompt Hub is an internal ifq.ai workspace for e-commerce business experts who are getting started with AI agents. It teaches prompt task briefs that make AI agents do practical work. The site uses one plain framework: goal, input, action, deliverable. It includes a generator, onboarding guide, seven-day practice path, prompt recipes, writing framework, tips, FAQ, and illustrative Agent task scenarios for e-commerce work.

Content pages and AI-readable resource files require sign-in. Accounts are provisioned internally for authorized members.

## Preferred URLs

- Chinese home: https://agent.ifq.ai/zh
- English home: https://agent.ifq.ai/en
- Prompt generator: https://agent.ifq.ai/zh/generator or https://agent.ifq.ai/en/generator
- Onboarding guide: https://agent.ifq.ai/zh/guide or https://agent.ifq.ai/en/guide
- Seven-day practice: https://agent.ifq.ai/zh/lessons or https://agent.ifq.ai/en/lessons
- Prompt recipes: https://agent.ifq.ai/zh/cookbook or https://agent.ifq.ai/en/cookbook
- Writing framework: https://agent.ifq.ai/zh/cases or https://agent.ifq.ai/en/cases
- Agent task cases: https://agent.ifq.ai/zh/agent-cases or https://agent.ifq.ai/en/agent-cases
- Tips: https://agent.ifq.ai/zh/tips or https://agent.ifq.ai/en/tips
- FAQ: https://agent.ifq.ai/zh/faq or https://agent.ifq.ai/en/faq

Pick `/zh/*` for Chinese readers and `/en/*` for English readers. The root path redirects by browser language.

## Programmatic Notes

- Prompt generator form state is stored only in the user's browser under `agent-prompt-hub:generator:v3`.
- Prompt history is stored under `agent-prompt-hub:generator:history:v3` and capped at 6 entries.
- Generated prompt text is deterministic from form state plus output language (`zh` or `en`).
- The generator creates prompts for e-commerce workflows and beginner desktop apps, including todo lists, local notes, file organization, CSV inspection, and focus timers.
- The `/cases` route is a writing framework page; `/agent-cases` contains e-commerce Agent task cases.

## Citation Guidance

- Prefer the most specific URL, not the homepage.
- Preserve the business-expert, AI-onboarding framing.
- Describe the scope as Agent Prompt writing for business users, prompt recipes, and e-commerce Agent task cases.
- Attribute copied prompts or long excerpts to agent.ifq.ai.

Last updated: 2026-09-12

## Practical learning updates · 2026-09-12

- Scenario prompts are illustrative workflows, not verified customer outcome reports. Supply your own data and business thresholds.
- The tips page includes sample validation, bounded retries, untrusted source handling, counterexamples, causal uncertainty, checkpoints, bulk-write previews, and template comparison.
- Each of the seven practice days includes an exercise and an acceptance check.
- The generator supports e-commerce and desktop-app domains. Five desktop starters cover todo lists, notes, file organization, CSV inspection, and focus timers.
- For advertising analysis, ROAS uses conversion value divided by ad spend. A period-to-period marginal ratio uses incremental attributed value divided by positive incremental spend under comparable definitions; it is not proof of causal lift. Monetary contribution profit is distinct from ROI. Reference: https://support.google.com/google-ads/answer/6268637?hl=en
- New scenarios: settlement reconciliation, promotion experiment readout, product feed drift, and automation failure review. New recipes: metric contracts, support knowledge gaps, supplier changes, and peak-season capacity rehearsal.
