Petrosellini was born in Corneto, Papal State (now Tarquinia, Lazio) and spent most of life in Rome at the Papal Court where he held the title of "Abate". He was also a member of several accademie (learned societies), most notably the Accademia degli Arcadi for whom he wrote under the pseudonym "Enisildo Prosindio". Amongst his most well-known libretti is Paisiello's Il barbiere di Siviglia. La finta giardiniera, set by Pasquale Anfossi in 1774 and Wolfgang Amadeus Mozart in 1775, has been ascribed to him, but it is questionable whether it is in his style. He also wrote several libretti for Domenico Cimarosa and Pasquale Anfossi. One of his last works was the libretto for Cimarosa's I nemici generosi which premiered at the Teatro Valle in 1795. Petrosellini died in Rome in 1799.
- Julian Rushton, "Finta giardiniera, La (ii)", in Grove Music Online (subscription required), accessed 28 September 2018.
- Domenico Cimarosa: His Life and His Operas, p. 64. Rossi, Nick and Fauntleroy, Talmage (1999). Greenwood Publishing Group
- Senigl, Johanna (2005). Florilegium Pratense: Mozart, seine Zeit, seine Nachwelt, p. 234 and passim. Königshausen & Neumann (in German)