Provides guidance on the CrestApps Orchard Core Classifieds module for user-posted listings, moderation, term-based expiration/renewal, paid upgrades (featured/bumped), owner listings, and search by words/distance on a Leaflet map.
Ships in crestapps-orchardcore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an Orchard Core expert. Generate accurate setup and extension guidance for the CrestApps Classifieds module, which lets visitors post content (ads, directory entries, properties) that is moderated, runs for a term, and can be featured or bumped by a paid upgrade.
CrestApps.OrchardCore.Classifieds (or the CrestApps.OrchardCore.Cms.Core.Targets bundle) in the web/startup project.CrestApps.OrchardCore.Classifieds. It depends on CrestApps.OrchardCore.Commerce and CrestApps.OrchardCore.Orders.CrestApps.OrchardCore.Products, CrestApps.OrchardCore.Carts and CrestApps.OrchardCore.Checkout to sell them (see orchardcore-products and orchardcore-checkout).ClassifiedPart to the content type visitors post. Attach ClassifiedUpgradePart to a product type.AdminAttribute.IsApplied).orchardcore-orders and orchardcore-carts; the shared Commerce menu and storefront account by orchardcore-commerce.{ "steps": [...] }.sealed modifier, except View Models.| Item | Value |
|---|---|
| Feature ID | CrestApps.OrchardCore.Classifieds |
| Parts | ClassifiedPart, ClassifiedUpgradePart |
| Part settings | ClassifiedPartSettings (TermDays 30, RequireApproval true) |
| Index | ClassifiedIndex (type, owner, status, dates, coordinates; latest and published versions) |
| Service | ClassifiedService |
| Commerce seams filled | ICartLineHandler (ClassifiedUpgradeLineHandler), IOrderEventHandler (ClassifiedUpgradeOrderHandler) |
| Cart line detail | classified.listing |
| Permissions | PostClassifieds (Authenticated), ModerateClassifieds (Administrator, Store manager) |
| Background task | ClassifiedsBackgroundTask (every five minutes, expires listings) |
| Sample recipe | Classifieds sample: a Classified Ad type and a $5 upgrade that features an ad for 7 days |
ClassifiedPart holds Status (ClassifiedStatus: Pending, Approved, Rejected, Expired), RejectReason, PostedUtc, ExpiresUtc, FeaturedUntilUtc, BumpedUtc, Place, Latitude and Longitude. The dates are stored in UTC, but the admin editor shows and takes Expires and Featured until in the site's time zone (ILocalClock), and lists show dates in the site's time zone. Use where I am on the storefront form fills the coordinates from the browser.
ClassifiedUpgradePart holds Kind (ClassifiedUpgradeKind: Feature = 0, Bump = 1) and Days (default 7).
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.Products",
"CrestApps.OrchardCore.Carts",
"CrestApps.OrchardCore.Orders",
"CrestApps.OrchardCore.Checkout",
"CrestApps.OrchardCore.Classifieds"
]
},
{
"name": "ContentDefinition",
"ContentTypes": [
{
"Name": "ClassifiedAd",
"DisplayName": "Classified Ad",
"Settings": { "ContentTypeSettings": { "Creatable": true, "Listable": true, "Draftable": true } },
"ContentTypePartDefinitionRecords": [
{ "PartName": "TitlePart", "Name": "TitlePart", "Settings": { "ContentTypePartSettings": { "Position": "0" } } },
{ "PartName": "HtmlBodyPart", "Name": "HtmlBodyPart", "Settings": { "ContentTypePartSettings": { "Position": "1" } } },
{
"PartName": "ClassifiedPart",
"Name": "ClassifiedPart",
"Settings": {
"ContentTypePartSettings": { "Position": "2" },
"ClassifiedPartSettings": { "TermDays": 30, "RequireApproval": true }
}
}
]
},
{
"Name": "ListingUpgrade",
"DisplayName": "Listing Upgrade",
"Settings": { "ContentTypeSettings": { "Creatable": true, "Listable": true } },
"ContentTypePartDefinitionRecords": [
{ "PartName": "TitlePart", "Name": "TitlePart", "Settings": { "ContentTypePartSettings": { "Position": "0" } } },
{ "PartName": "ProductPart", "Name": "ProductPart", "Settings": { "ContentTypePartSettings": { "Position": "1" }, "ProductPartSettings": { "Type": "Service", "DefaultCurrency": "USD", "SalesMode": "Purchasable", "PriceDisplay": "Show" } } },
{ "PartName": "ClassifiedUpgradePart", "Name": "ClassifiedUpgradePart", "Settings": { "ContentTypePartSettings": { "Position": "2" } } }
]
}
]
}
]
}
An upgrade product item then carries "ClassifiedUpgradePart": { "Kind": 0, "Days": 7 } next to its ProductPart price.
| Method | Behavior |
|---|---|
PostAsync | New listing waits for approval, or is approved and published when the type does not require approval |
ChangedAsync | An owner's edit. With approval required, the listing is taken down until approved again |
ApproveAsync / RejectAsync | Publishes for its term, or unpublishes with a reason. Both email the owner (the store's classified-listing email template) |
RenewAsync | Adds a term from the current end, or starts a new term for an expired listing, and publishes |
UpgradeAsync | Features for the upgrade's days (extending an existing feature) or bumps to the top |
ExpireDueAsync | Unpublishes listings past their end and emails owners |
SearchAsync | Published listings by type, words and distance. Bounding box in the index, then Haversine (GeoDistance). Featured first, then most recently bumped or posted |
ClassifiedUpgradeLineHandler stores the listing on the upgrade cart line as classified.listing and refuses a listing that is not the buyer's own. ClassifiedUpgradeOrderHandler applies the upgrade when the order is paid.
| Route | Name | Purpose |
|---|---|---|
listings/post/{contentType} | ClassifiedPost | Storefront editor for a new listing (PostClassifieds) |
listings/edit/{contentItemId} | ClassifiedEdit | Owner edits a listing |
account/listings | ClassifiedsOwn | Owner's listings with status, Renew and one button per upgrade (ClassifiedsOwn shape) |
account/listings/{id}/renew, account/listings/{id}/upgrade/{productId} | ClassifiedRenew, ClassifiedUpgrade | Renew, or add an upgrade to the cart |
listings | ClassifiedsSearch | Search by type, words and distance with a Leaflet and OpenStreetMap map loaded from cdnjs (ClassifiedsSearch shape) |
Admin Content > Posted Listings (classifieds) | Moderation list by status with Approve and Reject (ModerateClassifieds) |
The owner's page is added to the storefront account menu as My listings (see orchardcore-commerce for the commerce-account menu).
| Symptom | Check |
|---|---|
| Visitors cannot post | They must be signed in with PostClassifieds (granted to Authenticated by default) |
| Listing never appears | RequireApproval is on. Approve it under Content > Posted Listings |
| Listing disappears after an owner edit | Edits to a type that needs approval send it back for approval |
| Upgrade refused in the cart | The listing on the line must belong to the buyer |
| Listings never expire | ClassifiedsBackgroundTask runs only for tenants that have served a request |
| Distance search returns nothing | The listing needs Latitude and Longitude, filled by Use where I am or the editor |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchard-core, classifieds, listings, moderation, paid-upgrades
/crestapps-orchardcore:orchardcore-classifiedsfrom crestapps-orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin crestapps-orchardcore137 skills in this plugin
/orchardcore-accountsSkill for the CrestApps Orchard Core Accounts module (CrestApps.OrchardCore.Accounts) with its Account Members, Account Team, Account E-mail Domains and Account Locations features. Covers the Account type and AccountPart, the account picker and search, IAccountChildTypeRule, account page sections (AccountPageTabs, AddPageSection, Notes), members and IAccountMemberService, account invitations, the account owner and team picked from staff, e-mail domains, locations with a billing location, the account's billing profile and party members, the Accounts recipe and deployment steps, and the admin menu. Use this skill when requests mention accounts, the businesses or households records belong to, an account page tab, members, invitations, owners, domains or locations. Strong matches include AccountPart, AccountPageTabs, IAccountMemberService, IAccountInvitationService, AccountInvitation, AccountTeamPart, AccountEmailDomainsPart, IAccountEmailDomains, AccountLocationsPart and ManageAccountMembers./orchardcore-accounts-b2bSkill for the CrestApps Orchard Core Accounts B2B module (CrestApps.OrchardCore.Accounts.B2B), business selling on an Account content item. Covers B2BAccountPart and B2BAccount, buyers as account members and ship-to addresses as account locations, terms (deposit, net days, credit limit) through the account-terms tender billed to the account, the account's billing profile, purchase order numbers, quotes, price lists through IBuyerPriceProvider, order limits, approvals and budgets, OCI punchout, the account/business page and API, the PriceLists recipe and deployment steps, the B2BAccounts report source, and the move from the removed Companies module. Use this skill when requests mention B2B, wholesale or business buyers, net terms, purchase orders, price lists, order approvals or punchout. Strong matches include B2BAccountPart, B2BAccount, AccountTerms, AccountTermsTenderProvider, B2BAccountBillingProfileSource, IB2BAccountStore, PriceList, B2BPriceProvider, B2BApprovalService and ManageB2BAccounts.Other plugins' skills for the same job