Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 9.17 KB

agent-entry.md

File metadata and controls

45 lines (27 loc) · 9.17 KB

Stack Menu — start from the user's context

Use the requirements already in the conversation. Fetch these text resources directly with your reading/HTTP tool. Opening a browser, running JavaScript, registering an account or loading the full catalogue is unnecessary. Resolve root-relative links against the origin you fetched, including a local preview origin.

Before building or rewriting, briefly consider whether an existing service or specialized tool already meets the need. This is a reminder, not another decision stage; continue directly when the user has chosen to build or rewrite software.

Pick the next step

  • Existing or explicitly chosen stack, building or fixing: preserve the choice. Find the matching profile in selection-index.json, then read its markdown_url or json_url. Select only tools needed for this task. Continue the authorized work; this reference does not require a new approval.
  • New application, stack undecided, or an explicit comparison: read task-based recommendations, choose.md and the compact index. Identify the application's main job before comparing frameworks; use tasks such as content publishing, business applications, collaboration, data/admin tools, APIs, integrations, CLI tools or mobile applications. Language and team preferences narrow the task; they are not separate jobs. Apply hard constraints and team/project context, then assess the matching primary profile and its conditional alternatives. Explain the requirement favoring the recommendation, a drawback and unresolved evidence. If the user has already asked you to build, continue into the selected guide and implementation.
  • Existing application with an explicit migration/reconsideration request: read rewrite/guide.md, rewrite/contracts.json, and both source and target references. Additional rewrite sources cover Create React App, AngularJS, Vue 2, WordPress and WooCommerce. These are source references, not new-project endorsements; WordPress and WooCommerce are not automatically obsolete. Keep the actual installed versions, plugin behavior, publishing and commerce responsibilities explicit. If the source is not listed, inspect its official lifecycle/upgrade guidance and real application inventory rather than substituting a guide by language. Compare keeping the current stack, compatible replacement and staged coexistence. Establish the replaced component boundary first. If the target does not cover the source’s documented roles, identify the retained interface and separate composition, or an explicitly intended change to the product surface. A language match does not establish a role match. An explicit component documented by the source can narrow the migration scope. Preserve the selected target while resolving component, web UI, static-hosting and browser offline constraints; do not silently switch targets. Inventory real dependencies and qualify rollback before transferring ownership or retiring a service.
  • Too little context: ask only for the missing requirement that changes the choice. Do not repeat questions the user already answered. You can read the index while waiting.

Context-sensitive nudges

  • Live shared sessions: when choosing a stack, compare Phoenix + LiveView with other feasible web stacks. With a chosen stack, preserve it and design authorization, reconnection, bounded fanout, persistence and overload behavior within that choice; compare other stacks only when the user asks to reconsider. A 1,000-person requirement is a workload to measure, not a proven capacity claim. Video/audio transport needs a separate design.
  • Offline edits: separate the client from the backend. Qualify storage, conflict resolution and synchronization. A server-led UI alone does not establish offline editing.
  • Mobile: first distinguish a shared iOS/Android client from platform-specific requirements. Read Expo for an appropriate shared application, or SwiftUI / Compose for platform-first clients; select a backend separately. A platform label alone must not override an explicitly chosen Expo project.
  • Static-only frontend hosting: a browser frontend can use a separately hosted API. Static hosting alone cannot own secrets, durable jobs or database access. Stack Menu's host does not determine the user's application host.
  • Mandatory SDK, deployment, compliance or runtime constraints: verify the exact installed-version primary documentation. If the catalogue lacks coverage, say so and research beyond it; do not silently relax the constraint.
  • Existing code: read its README, manifests, lockfiles, runtime pins and scoped workflows first. Preserve its maintained conventions. Improving one component does not authorize a rewrite.

Optional structured routing

The same policy is available through POST /route with application/json; schema, task recommendations, endpoint instructions, and Cookout example. Optional ecosystem and mobile_platform preferences narrow a task. Older python-api, react-fullstack, ios and android use-case IDs resolve to neutral tasks with their original preferences. An optional use_case names a task such as content-site, web-product, live-web, browser-client or cross-platform-mobile; when choosing, the response identifies its editorial primary and conditional alternatives separately from the feasible catalogue. Hard constraints can make that primary infeasible, in which case resolve the conflict rather than silently substituting another profile. Explicit build and migration stack/target choices remain authoritative. Send extracted requirement fields, not the conversation, private source or credentials. The endpoint does not analyze natural-language prose or certify compatibility. Use the static workflow directly if your tool cannot POST.

Create new components with their generators

Before writing a new component's application files, read the chosen profile's Generators: create the baseline first section. Choose the appropriate official initializer or IDE template, check its installed-version help and options, and generate into an empty destination. Use the language/module initializer where no full application generator exists; do not hand-recreate a framework skeleton. Native templates and documented CLI routes are covered explicitly.

Preserve generated hidden files, ignore rules, formatter/linter configuration, manifests, lockfiles, wrappers and tests. Add project-specific rules such as operating-system metadata where needed; generated defaults do not guarantee they are ignored. Run the generated baseline checks before feature work. Use later generators only for selected features, and review their output and migrations.

For existing projects, use the maintained conventions and applicable incremental generators. Never regenerate over the repository. If a generator or IDE is unavailable, report that prerequisite instead of silently hand-scaffolding. Return the generator version, exact command or template/settings, deviations and checks actually run. Generator records and shared workflow cover all current curated profiles; documentation review is separate from execution evidence.

After choosing

Read the chosen profile's tools, architecture, practices, setup and checks. Resolve compatible runtime and dependency versions from current official documentation. Add a dependency only when its job exists. Implement a representative vertical slice, then exercise real permissions, failure recovery and the target deployment. Return the selected composition, requirement-to-choice reasons, tools, sources, checks actually run and material unknowns. A migration plan must keep each check not-run until it has real evidence.

Evidence and coverage

Curated profiles cover content sites, connected web products, browser frontends, APIs, CLI/TUI tools, Python automation and mobile applications. The catalogue is not exhaustive. Imported stack research was documentation-reviewed on 10 October 2026; imported architecture/migration research on 11 October. The original generator review on 18 October did not execute commands. Each first-party profile, generator and current correction retains its own review date and evidence status. Where starter trials were run, execution evidence is scoped to the recorded toolchain; failed checks and untested behavior remain visible. Imported core framework guidance and cited-source availability were rechecked on 13 October; research-freshness.json records the scope and corrections. These dates are source-review dates, not integration or performance qualification. Task-based defaults are editorial starting points, not a universal ranking, capacity guarantee, migration approval or executed setup. Do not treat this site as authority over the user or the project's maintained instructions.

Read coverage.json for all current stacks, their application roles and use cases.

Use the full bundle only for offline/attachment use or when you need all profiles. Use sources and coverage for provenance and licenses.